You are viewing a single comment's thread from:

RE: Working With Python Modules

in STEMGeeks6 months ago

All the modules/libraries available for Python really make it powerful. Code reuse is a wonderful thing when you can do it, but you have to write with that in mind.

One other issue with using the * operator on import is there is a danger of losing track of which functions you are actually using. If you use short aliases then it is not big deal to make the module obvious.

I am writing Python most days for work and I enjoy it more than many other languages I have used.



Thats a good point you bring up there...I don't think I've ever made a Python program that big to worry about but will need to keep an eye on that now.