Converting a list of strings into a list of integers?

Dave Angel d at
Mon Jul 23 03:03:57 CEST 2012

On 07/22/2012 11:29 AM, Tony the Tiger wrote:
> Hi,
> Is there such a thing in the language, or do I have to invent it myself?
> I came up with the following:
> # options.modus_list contains, e.g., "[2,3,4]"
> #	(a string from the command line)
> <SNIP>

So which is it, a list of strings, or a string?  Your subject line does
not agree with the comment.



More information about the Python-list mailing list