Re: Converting a list of strings into a list of integers?

Discussion in 'Python' started by Dave Angel, Jul 23, 2012.

  1. Dave Angel

    Dave Angel Guest

    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
    Dave Angel, Jul 23, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roy Smith
    Replies:
    1
    Views:
    161
    Peter Otten
    Jul 22, 2012
  2. Jan Riechers
    Replies:
    4
    Views:
    215
  3. Paul Rubin
    Replies:
    0
    Views:
    160
    Paul Rubin
    Jul 22, 2012
  4. David Robinow
    Replies:
    0
    Views:
    163
    David Robinow
    Jul 22, 2012
  5. Jan Riechers
    Replies:
    0
    Views:
    149
    Jan Riechers
    Jul 22, 2012
Loading...

Share This Page