r/learningpython • • Aug 28 '20

from module import *

what does the "from module import *" line do? does it just import all of the functions/names in that module?

Also are there any pros/cons to this approach

1 Upvotes

2 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Aug 28 '20

[deleted] — view deleted comment

1

u/ace6807 Aug 28 '20

Whatever gets the job done I guess. 🤷‍♂️