Jul-29-2017, 10:36 AM
It was David Beazley's video:
Above is taken from the slides, page 21: http://www.dabeaz.com/modulepackage/ModulePackage.pdf
Quote:from module importThe video for this is located here: https://www.youtube.com/watch?v=0oTh1CXRaQ0
Lifts selected symbols out of a module after
importing it and makes them available locally
from math import sin, cos
def rectangular(r, theta):
x = r * cos(theta)
y = r * sin(theta)
return x, y
21
Allows parts of a module to be used without
having to type the module prefix
Above is taken from the slides, page 21: http://www.dabeaz.com/modulepackage/ModulePackage.pdf