Dumb noob q: ASCII value of a character
Steve Horsley
shoot at the.moon
Thu Feb 26 15:33:23 EST 2004
More information about the Python-list mailing list
Thu Feb 26 15:33:23 EST 2004
- Previous message (by thread): Dumb noob q: ASCII value of a character
- Next message (by thread): ImportError: No module named glade??
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
vincent wehren wrote: > What you're looking for is: > > s = "A B" > for c in s: > print ord(c) > Thank you everyone who answered. Also, "for c in s:" - hmmm , still learning fast! Also, overriding str funcion with a local variable - and STILL learning fast! Regards, Steve
- Previous message (by thread): Dumb noob q: ASCII value of a character
- Next message (by thread): ImportError: No module named glade??
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list