forked from tldr-pages/tldr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b4ded3
commit 8e56c88
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# 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_name}}` | ||
|
||
- Interactively debug a Python script: | ||
|
||
`pypy -m pdb {{path/to/file.py}}` |