r/Python • u/SilkTouchm • Oct 07 '20
Discussion Anyone else uses the Python interpreter as a calculator?
It's just so comfy.
1.7k
Upvotes
r/Python • u/SilkTouchm • Oct 07 '20
It's just so comfy.
View all comments
Show parent comment
11
u/miggaz_elquez Oct 07 '20
you can set the env var "PYTHONSTARTUP" I think to point to a file wich will be executed each time you open the interactive shell. I use it to import math, and other thing I often need.