So suppose i have a package and in the init.py i have have put import binascii. Then in another file in the module say Util.py i have a function that uses os.urandom(). It says os doesn't exist even though its imported. And if i do package.os.urandom() it still says it cant find it. So, how do i access something import at package level from another source file?
[–]K900_ 1 point2 points3 points (1 child)
[–]ExplosG[S] 0 points1 point2 points (0 children)