[Python-uk] ASCII Value of a character

Simon Brunning python-uk@python.org
Wed, 17 Apr 2002 11:09:45 +0100


> From:	Simon Faulkner [SMTP:simon@titanic.co.uk]
> How do I print the ASCII value of a character read from a file?
 
Try ord().

Cheers,
Simon Brunning
TriSystems Ltd.
sbrunning@trisystems.co.uk




-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.