[Tutor] How python keeps track of data types

Abhishek Kumar abhishekkmr18 at gmail.com
Tue Mar 29 02:15:34 EDT 2016


Thanks everyone for answers and links.I wasn't aware of fact that python
names are just references to Objects.


Abhishek

On Tue, Mar 29, 2016 at 1:01 AM, Abhishek Kumar <abhishekkmr18 at gmail.com>
wrote:

> 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