[Tutor] How python keeps track of data types

Abhishek Kumar abhishekkmr18 at gmail.com
Mon Mar 28 15:31:57 EDT 2016


Hello
I am a computer science student,I want to know how python keeps track of
data types of variables and is there a way to get data types of variables
without actually running the script(with type() function). I think python
AST can help, but am unable to figure out.Please help me.
I've explored compiler library but could not find anything helpful.

Thanks
Abhishek Kumar


More information about the Tutor mailing list