Converting a list of strings into a list of integers?

Dave Angel d at davea.name
Sun Jul 22 21:03:57 EDT 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.

-- 

DaveA




More information about the Python-list mailing list