1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 06:02:18 +02:00

python: add Spanish translation (#14899)

This commit is contained in:
Igor Támara 2024-11-24 02:46:36 -05:00 committed by GitHub
parent 1c3772fc2c
commit fc46cc6bd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

36
pages.es/common/python.md Normal file
View file

@ -0,0 +1,36 @@
# python
> Intérprete de lenguaje Python.
> Más información: <https://www.python.org>.
- Inicia una REPL (interfaz de comando interactiva):
`python`
- Ejecuta un archivo específico de Python:
`python {{ruta/al/archivo.py}}`
- Ejecuta un archivo Python específico y comienza una REPL:
`python -i {{ruta/al/archivo.py}}`
- Ejecuta una expresión python:
`python -c "{{expresión}}"`
- Ejecuta el script del módulo de biblioteca especificado:
`python -m {{módulo}} {{argumentos}}`
- Instala un paquete utilizando `pip`:
`python -m pip install {{paquete}}`
- Depura interactivamente un script Python:
`python -m pdb {{ruta/al/archivo.py}}`
- Inicia el servidor HTTP incorporado en el puerto 8000 en el directorio actual:
`python -m http.server`