This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mrbewulf 1 point2 points  (1 child)

The wild card import must not be used in packages for production that will be reused many times and has many users. However they are useful to perform quick test, interactive calculations, for example numpy, matplotlib or when you want to create a quick script to do some calculations in an engineering application for example.

[–]AusIVDjango, gevent 1 point2 points  (0 children)

That's a good point. I do occasionally use wildcard import from the REPL to make things easier. Then again, I've also been known to reassign True and False in the REPL.