help

Jeff Davis jdavis at empires.org
Tue Sep 24 16:25:47 EDT 2002


Juliana Braga wrote:

> I need help.
> For example:
> x = ‘name1’
> How can I get the value of variable x (in this case the value of variable
> x is ‘name1’). After , I’d like to do this:
> value of variable x = ‘teste’.

You're not being entirely clear, but it looks like what you want to do is:

x = 'name1'
x = 'teste'

Values cannot change into other values. A value is a value, and a variable 
can change the value that it holds, but a value cannot change. So maybe 
you could clarify what you want to do?

Regards,
        Jeff



More information about the Python-list mailing list