How to search the pip repository since pip has blocked search -> poetry
pip install poetry
python -m poetry {search|run}
poetry run python program.py
how to run VSCode in debugging mode using poetry installed modules
poetry run python program.py
bpython: How to get a syntax highlighting and elaborate code assistance within a python RPEL
poetry add bpython
python -m bpython program.py
poetry run python -m bpython program.py
pull history out of a python interactive session:
import readline
#readline.read_history_file('/root/.python_history') #not required, is loaded in session
readline.write_history_file('history.py') #written to working directory
import readline
readline.read_history_file('/root/.pythonhist') #required outherwise prints empty file
readline.write_history_file('history.py') #written to working directory