mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 20:02:09 +02:00

* pages/*, style-guide: update pages, fix Markdown (commit 1) * Update pages * style-guide.de: update page * Apply suggestions from code review Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * pip3: remove search command * rpm: update path placeholder Co-authored-by: pixel <pixel+github@chrissx.de> * Update pages/linux/pkgfile.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: pixel <pixel+github@chrissx.de>
32 lines
619 B
Markdown
32 lines
619 B
Markdown
# pypy
|
|
|
|
> Fast and compliant alternative implementation of the Python language.
|
|
> More information: <https://doc.pypy.org>.
|
|
|
|
- Start a REPL (interactive shell):
|
|
|
|
`pypy`
|
|
|
|
- Execute script in a given Python file:
|
|
|
|
`pypy {{path/to/file.py}}`
|
|
|
|
- Execute script as part of an interactive shell:
|
|
|
|
`pypy -i {{path/to/file.py}}`
|
|
|
|
- Execute a Python expression:
|
|
|
|
`pypy -c "{{expression}}"`
|
|
|
|
- Run library module as a script (terminates option list):
|
|
|
|
`pypy -m {{module}} {{arguments}}`
|
|
|
|
- Install a package using pip:
|
|
|
|
`pypy -m pip install {{package}}`
|
|
|
|
- Interactively debug a Python script:
|
|
|
|
`pypy -m pdb {{path/to/file.py}}`
|