1. install
1.1. venv
# install
pip install virtualenv
# creation
mkdir project
cd project
python3 -m venv env
# activation / deactivation linux
source env/bin/activate
source env/bin/deactivate
# activation / deactivation windows
cd env/Scripts
activate.bat //In CMD
deactivate.bat
1.2. pip-ingore-ssl-verification
# https://stackoverflow.com/questions/25981703/pip-install-fails-with-connection-error-ssl-certificate-verify-failed-certi#29751768
# https://jupyter.org/install
pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org IPython kernelspec install-self
pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org voila
voila
2. lib
2.1. lib-net
2.2. lib-sys
2.3. lib-data
2.4. lib-sec
3. sec
3.1. python-exec-bash
# run bash via python
python -c 'import pty; pty.spawn("/bin/bash")'
3.2. python-exec-cmd
# not tested / just a reminder here
# does it work ?
python -c 'import pty; pty.spawn("cmd.exe")'