Python Setup
April 29, 2026•605 words
Python Notes
13 Mar 2026
globals()
locals()
dir()
#example
global g
g=45
repr(g)
'45'
A Python virtual environment is a folder structure that gives you everything you need to run a lightweight yet isolated Python environment. https://realpython.com/python-virtual-environments-a-primer/
List packages in a virtual environment
python -m pip list
Using Python virtual Environment from command line (Windows Powershell)
Loosen Your Execution Policy
The execution policy sets how strict you...
Read post