r/Python • • Jan 03 '19

Python in one?

https://imgur.com/cKEwZ1v
1.8k Upvotes

36 comments sorted by

View all comments

14

u/[deleted] Jan 03 '19

something_complicated.do()

29

u/DataVeg Jan 03 '19

Nope. something is in the namespace, something_complicated isn’t.

18

u/[deleted] Jan 03 '19

from something import complicated as something_complicated