On May 1, 2007, at 4:06 PM, [EMAIL PROTECTED] wrote: > Hi, > a python newbe needs some help, > > I read the python doc at > http://docs.python.org/lib/module-curses.ascii.html > > I tried > Import curses.asciicurses.ascii > Print ascii('a') > > I get an error saying module curses.ascii8 does not exsist. > > How can I get the ascii code of a charter in python?
Do you mean ord()? -- http://mail.python.org/mailman/listinfo/python-list