help

Syver Enstad syver-en+usenet at online.no
Wed Sep 25 16:57:18 CEST 2002


"Juliana Braga" <juliana at pdi.inpe.br> writes:

> 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’.

I am not sure I understand what you mean, but here's a shot:

x = 'name1'
saved = x
x = 'teste'
print x
teste
print saved
name1

Hope this helps.



-- 

Vennlig hilsen 

Syver Enstad



More information about the Python-list mailing list