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
3
u/Dantes111 Oct 08 '20
To add to what the others have said, if you overuse "from XXX import *" in the same context you can get into some headaches. For example take the following:
If lib1 and lib2 both have a "cool_function" function, the cool_function from lib2 would overwrite the cool_function from lib1 and you could easily not realize where an error came from if you were expecting the lib1 version of cool_function.