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:
parent
c4bd162274
commit
15f70d487b
1 changed files with 36 additions and 0 deletions
36
pages.ja/common/python.md
Normal file
36
pages.ja/common/python.md
Normal 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`
|
Loading…
Add table
Reference in a new issue