Namespace question
Frank Aune
Frank.Aune at broadpark.no
Wed Oct 31 10:06:27 EDT 2007
Hello,
Is it possible writing custom modules named the same as modules in the
standard library, which in turn use the same module from the standard
library?
Say I want my application to have a random.py module, which in turn must
import the standard library random.py module also, to get hold of the randint
function for example.
My attempts so far only causes my random.py to import itself instead of the
standard library random.py
Receipt for disaster? :)
Regards,
Frank
More information about the Python-list
mailing list