Location of variables

Grzegorz Dostatni grzegorz at ohaton.cs.ualberta.ca
Wed Jan 17 17:28:20 EST 2001


Is there a way in Python to find out the memory location of variables?  
Something like 

def s():
	pass

print s

will print the type and memory location of s.  
Is there something like that if s is just a simple variable?  
(int for example).

I need it to help me debug a problem...

Greg

-- 





More information about the Python-list mailing list