python: update deprecated script/file path (#7185)

feature/windows-fix-syntax-2
Antoine Amara 2021-11-02 17:45:07 +01:00 committed by GitHub
parent 7df608099c
commit c283122c24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -7,13 +7,13 @@
`python`
- Execute script in a given Python file:
- Execute a specific Python file:
`python {{script.py}}`
`python {{path/to/file.py}}`
- Execute script as part of an interactive shell:
- Execute a specific Python file and start a REPL:
`python -i {{script.py}}`
`python -i {{path/to/file.py}}`
- Execute a Python expression:
@ -25,11 +25,11 @@
- Install a package using `pip`:
`python -m pip install {{package_name}}`
`python -m {{pip}} install {{package_name}}`
- Interactively debug a Python script:
`python -m pdb {{script.py}}`
`python -m {{pdb}} {{path/to/file.py}}`
- Start the built-in HTTP server on port 8000 in the current directory: