Re: [Tutor] increment operator

2005-05-29 Thread hugonz
No, there is not. Integers are inmutable types, so you cannot modify them in place, so you do: i += 1 or i = i+1 which creates a new integer and makes "i" reference it. Hugo > Hello >Is there a increment operator in python similar to c++ > like so "SomeVariable++" > > __

Re: [Tutor] Comments appreciated

2005-01-05 Thread hugonz
and just work with parameter passing. >> > > Lovely, thank you. I started a project that is for learning spanish > on-line, of currently 300 lines or so, that is proceeding rapidly > thanks to these lessons learned. Thank you Python Tutors, and thank > you Python! Hola Luis, I'd like to help with

Re: [Tutor] cgi.FieldStorage and dictionary.get(' ')

2005-01-05 Thread hugonz
> Strangely, the calls to print form.get('author') and > form.get('password') don't appear in the output. Only the form.keys() > appears. I don't have this on the top of my head, but I'm pretty sure you have to get the 'value' attribute, as in: print form.get('password').value do a dir (form.g