1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 06:55:27 +02:00

python: add page for Japanese (#16694)

* add: python.md to japanese

* fix: style of Japanese

* translate: English placeholders into Japanese

* Update pages.ja/common/python.md

Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>

---------

Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
This commit is contained in:
Daisuke Akagawa 2025-06-02 18:29:51 +09:00 committed by GitHub
parent c4bd162274
commit 15f70d487b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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

@ -0,0 +1,36 @@
# python
> Python language インタプリタ。
> もっと詳しく: <https://www.python.org>
- REPLを開始する (インタラクティブ):
`python`
- 指定したPythonスクリプトを実行:
`python {{Pythonファイルパス}}`
- 指定したPythonスクリプトを実行してREPLを実行:
`python -i {{Pythonファイルパス}}`
- Python実装を文字列で指定して実行する:
`python -c "{{Python実装文字列}}"`
- 指定したライブラリモジュールのスクリプトを実行する:
`python -m {{モジュール名}} {{引数}}`
- `pip`を利用してパッケージをインストールする:
`python -m pip install {{パッケージ}}`
- インタラクティブにPythonスクリプトをデバッグする:
`python -m pdb {{Pythonファイルパス}}`
- ビルトインのHTTPサーバをポート8000版でカレントディレクトリで実行する:
`python -m http.server`