How to covert ASCII to integer in Python?

Philipp Pagel pDOTpagel at helmholtz-muenchen.de
Sat May 31 11:15:12 EDT 2008


Mensanator <mensanator at aol.com> wrote:
> On May 30, 10:03???am, Philipp Pagel <pDOTpa... at helmholtz-muenchen.de>
> wrote:
> > 'P' is obviously not an ASCII representation of a number.

> It is in base 36.

Sure, but if that was the OP's intent he would most likely have
mentioned it...

As others have already guessed, it's most likely somethink like ord() he
was after.

cu
	Philipp

-- 
Dr. Philipp Pagel
Lehrstuhl f. Genomorientierte Bioinformatik
Technische Universität München
http://mips.gsf.de/staff/pagel



More information about the Python-list mailing list