snippetbashTip
pypy — Fast and compliant alternative implementation of the Python language. More information: <https://man
Viewed 0 times
commandandpypyalternativeclifastimplementationcompliant
Problem
How to use the
pypy command: Fast and compliant alternative implementation of the Python language. More information: <https://manned.org/pypy>.Solution
pypy — Fast and compliant alternative implementation of the Python language. More information: <https://manned.org/pypy>.Start a REPL (interactive shell):
pypyExecute 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}}Code Snippets
Start a REPL (interactive shell)
pypyExecute 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}}Context
tldr-pages: common/pypy
Revisions (0)
No revisions yet.