ascii value

Kalle Svensson kalle at lysator.liu.se
Mon Sep 2 09:50:40 CEST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[Axel Grune]
> How can I get the ascii value of char which is in a string,
> e.g. getting the 97 if the char was 'a'.

>>> ord('a')
97

Peace,
  Kalle
- -- 
Kalle Svensson, http://www.juckapan.org/~kalle/
Student, root and saint in the Church of Emacs.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>

iD8DBQE9cxg7dNeA1787sd0RAsgUAJ9nPP6vQWq1N5tCn+BuZBuV2eMVuACfbl3l
P5Zo5MqtM2jCf+AU/aCWBJo=
=cIb4
-----END PGP SIGNATURE-----




More information about the Python-list mailing list