Sakcee wrote:
> now in package.module.checkID function, i wnat to know what is the ID
> defiend in the calling scriipt
It's almost always a really bad idea to kludge scopes like this. If
you need to access a variable from the caller's scope in a module
function, make it an argument to that functi
Hi
I have a script e.g.
import package.module
ID = "55"
package.module.checkID()
now in package.module.checkID function, i wnat to know what is the ID
defiend in the calling scriipt
if I dot globals(), it returns only items in module. is there a way
to get the script level namesapce
th