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
On 28/03/16 20:31, Abhishek Kumar wrote:
> 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).
First, recall that Python variables are jus
Abhishek Kumar writes:
> I am a computer science student,I want to know how python keeps track
> of data types of variables
Python doesn't track the type of a variable, because a variable never
has any information about type.
What Python calls “variables” are names, referring to objects. Names
On Tue, Mar 29, 2016 at 01:01:57AM +0530, Abhishek Kumar 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