newbie question

mr_organic mr_organic at yourmamashouse.com
Thu Apr 15 17:12:36 EDT 2004


jeff <plastic"no-spam-pls"@xsintrk.net> wrote in
news:Xns94CCA389D3DA0plasticnospamplsxsin at 216.77.188.18: 

> ex:
> 
> a = "text str"
> if a == "text str": print a
> 
> why doesn't that work?  i couldn't find much help about variable types
> in the manual, does it need a property like a.text?
> 

If you're at the commandline, remember to push ENTER *twice* at the end of 
your last statement; a blank line causes the interpreter to execute your 
code.  I just used your code and it worked fine.

mr_organic



More information about the Python-list mailing list