Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: cl@isbd.net Newsgroups: comp.lang.python Subject: How to turn a string into a list of integers? Date: Wed, 3 Sep 2014 13:27:29 +0100 Lines: 9 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net dTed+aBP0iacg+Scs+MJUQKGXmOpsRpzip4kPLaCHkSYpXimM= X-Orig-Path: not-for-mail Cancel-Lock: sha1:89UGlnvEgvjhHuaqAVKRTPHTev4= User-Agent: tin/2.2.0-20131224 ("Lochindaal") (UNIX) (Linux/3.13.0-35-generic (x86_64)) Xref: csiph.com comp.lang.python:77479 I know I can get a list of the characters in a string by simply doing:- listOfCharacters = list("This is a string") ... but how do I get a list of integers? -- Chris Green ยท