How can I get the ascii code of a charter in python?

dustin at v.igoro.us dustin at v.igoro.us
Tue May 1 17:14:21 EDT 2007


On Tue, May 01, 2007 at 02:06:21PM -0700, tedpottel at gmail.com wrote:
> How can I get the ascii code of a charter in python?

It's a builtin: 
  >>> ord('*')
  42

Dustin



More information about the Python-list mailing list