mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:42:09 +02:00
python: add Spanish translation (#14899)
This commit is contained in:
parent
1c3772fc2c
commit
fc46cc6bd0
1 changed files with 36 additions and 0 deletions
36
pages.es/common/python.md
Normal file
36
pages.es/common/python.md
Normal 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`
|
Loading…
Add table
Reference in a new issue