mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
python: add Indonesian translation
This commit is contained in:
parent
c03f677430
commit
e348bb4ad7
1 changed files with 28 additions and 0 deletions
28
pages.id/common/python.md
Normal file
28
pages.id/common/python.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# python
|
||||
|
||||
> Penerjemah bahasa Python.
|
||||
> Informasi lebih lanjut: <https://www.python.org>.
|
||||
|
||||
- Menjalankan REPL (shell interaktif):
|
||||
|
||||
`python`
|
||||
|
||||
- Menjalankan skrip pada berkas Python:
|
||||
|
||||
`python {{skrip.py}}`
|
||||
|
||||
- Menjalankan skrip sebagai bagian dari shell interaktif:
|
||||
|
||||
`python -i {{skrip.py}}`
|
||||
|
||||
- Menjalankan ekspresi Python:
|
||||
|
||||
`python -c "{{ekspresi}}"`
|
||||
|
||||
- Menjalankan modul perpustakaan sebagai skrip (diakhiri dengan daftar opsi):
|
||||
|
||||
`python -m {{modul}} {{argumen}}`
|
||||
|
||||
- Mendebug skrip Python secara interaktif:
|
||||
|
||||
`python -m pdb {{script.py}}`
|
Loading…
Add table
Reference in a new issue