F
Frank Aune
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
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