Getting the code of a character ?

Mike Fletcher mfletch at tpresence.com
Tue Sep 12 17:31:37 EDT 2000


ord( character )

HTH,
Mike

-----Original Message-----
From: Gilles Lenfant [mailto:glenfant at nospam-e-pack.net]
Sent: Tuesday, September 12, 2000 5:13 PM
To: python-list at python.org
Subject: Getting the code of a character ?


Yes, a real newbie question !
How to get the code number of a character like :
x = asc("x") in stupid Basic ?

TIA


-- 
http://www.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list