From c9ed598532560cf66325d14667317a85d592da2a Mon Sep 17 00:00:00 2001 From: Francesco Franchina Date: Sat, 16 Oct 2021 20:25:44 +0200 Subject: [PATCH] python, python3: add Italian translation --- pages.it/common/python.md | 32 ++++++++++++++++++++++++++++++++ pages.it/common/python3.md | 7 +++++++ 2 files changed, 39 insertions(+) create mode 100644 pages.it/common/python.md create mode 100644 pages.it/common/python3.md diff --git a/pages.it/common/python.md b/pages.it/common/python.md new file mode 100644 index 000000000..1ad99e871 --- /dev/null +++ b/pages.it/common/python.md @@ -0,0 +1,32 @@ +# python + +> Interprete del linguaggio Python. +> Maggiori informazioni: . + +- Avvia una REPL (shell interattiva): + +`python` + +- Esegue lo script contenuto in un file Python: + +`python {{script.py}}` + +- Esegue uno script all'interno della shell interattiva: + +`python -i {{script.py}}` + +- Esegue un'espressione Python: + +`python -c "{{expression}}"` + +- Esegue lo script di un modulo presente nella libreria: + +`python -m {{modulo}} {{argomenti}}` + +- Installa un pacchetto usando `pip`: + +`python -m pip install {{nome_pacchetto}}` + +- Esegue il debug interattivo di uno script Python: + +`python -m pdb {{script.py}}` diff --git a/pages.it/common/python3.md b/pages.it/common/python3.md new file mode 100644 index 000000000..e1fc52235 --- /dev/null +++ b/pages.it/common/python3.md @@ -0,0 +1,7 @@ +# python3 + +> Questo comando รจ un alias di `python`. + +- Consulta la documentazione del comando originale: + +`tldr python`