Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79477

Re: I am out of trial and error again Lists

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.python
Subject Re: I am out of trial and error again Lists
Date 2014-10-22 22:43 +0000
Organization A noiseless patient Spider
Message-ID <m29bu2$8ou$1@dont-email.me> (permalink)
References <rr4g4ah01n2efganet7b8oml8uq1qaf9qc@4ax.com>

Show all headers | View raw


On Wed, 22 Oct 2014 16:30:37 -0400, Seymore4Head wrote:

> def nametonumber(name):
>     lst=[""]
>     for x,y in enumerate (name):
>         lst=lst.append(y)
>     print (lst)
>     return (lst)
> a=["1-800-getcharter"]
> print (nametonumber(a))#18004382427837
>     
>     
> The syntax for when to use a () and when to use [] still throws me a
> curve.
> 
> For now, I am trying to end up with a list that has each character in
> "a" as a single item.
> 
> I get:
> None None

First of all, an empty list is created with:

emptylist = []

whereas

x = [""]

creates a list containing one element, that element being an empty 
string. Not the same thing!

Did you try stepping through your code line by line in the interpreter to 
see what happened at each step?

note that append is a method of a list object, it has no return value, 
the original list is modified in place.

>>> l = ["a","b","c"]   # declare a list
>>> l.append( "d" )     # use the append method
>>> l                   # show the list
['a', 'b', 'c', 'd']

So your line:

lst = lst.append(y)

should be:

lst.append(y)

Finally, did you really intend to pass a single element list into the 
function, or did you intend to pass a string into the function?

There is a difference between:

a=["1-800-getcharter"] 

which creates a single element list, the one element is the string "1-800-
getcharter", and:

a="1-800-getcharter"

which creates a string variable with the value "1-800-getcharter"

when you pass a list containing a string to your function, enumerate will 
look at each list element, so if your list contains one string, enumerate 
will return the pair 0, the_string, so the string gets appended to your 
empty list as a single item.

The code I think you wanted to write is as follows:

def nametonumber(name):
    lst=[]
    for x,y in enumerate(name):
        lst.append(y)
    return lst

a="1-800-getcharter"
print ( nametonumber(a) )

I suggests that you study very carefully the differences between this and 
your original code until you understand the reason and effect of every 
difference, as only by doing so will you discover the misconceptions 
which you seem to be operating under, and until you can get some of those 
straightened out, you're not going to make a lot of progress.

Try running the original code and my suggested alternative line by line 
in the interpreter, and examining the state of relevant variables after 
each line of execution.

Here's a code file with both your original code and my modified code with 
comprehensive print statements inserted for debugging. By referencing the 
debugging statements back to the code, you should be able to determine 
exactly where in your original code the value of "none" comes from.

### code starts

print ( "original code" )

def nametonumber(name):
    print ("a) name =", name)
    lst=[""]
    print ( "b) lst = ", lst )
    for x,y in enumerate (name):
        print ( "c) x = ", x, "; y = ", y, "; lst = ", lst )
        lst=lst.append(y)
        print ( "d) lst = ", lst )
    print (lst)
    return (lst)

a=["1-800-getcharter"]
print ( "e) a = ", a )
print (nametonumber(a))

print ( "modified code" )

def nametonumber2(name):
    print ("f) name =", name)
    lst=[]
    print ( "g) lst = ", lst )
    for x,y in enumerate(name):
        print ( "h) x = ", x, "; y = ", y, "; lst = ", lst )
        lst.append(y)
        print ( "i) lst = ", lst )
    return lst

a="1-800-getcharter"
print ( "j) a = ", a )
print ( nametonumber2(a) )

### code ends

If you run the above code exactly as it is, you should see in the output 
how the enumeration reacts according to the different data it is given to 
enumerate, and also where lst is assigned the value none.

As I said above, getting your head round why this is happening is 
essential, and I really do suggest that you slow down and try and 
understand these basic concepts, because at the moment it seems you are 
striving to attempt more and more complicated things without 
understanding the basics upon which they are constructed, and like many 
other similar newsgroups, it's been my experience in the past that there 
is limited tolerance here for people who repeatedly make the same basic 
errors without learning from them.

-- 
Denis McMahon, denismfmcmahon@gmail.com

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-22 16:30 -0400
  Re: I am out of trial and error again Lists Joel Goldstick <joel.goldstick@gmail.com> - 2014-10-22 16:57 -0400
    Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-22 17:04 -0400
      Re: I am out of trial and error again Lists sohcahtoa82@gmail.com - 2014-10-22 14:35 -0700
        Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-22 17:38 -0400
  Re: I am out of trial and error again Lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-22 22:28 +0100
  Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-22 18:30 -0400
    Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-22 18:32 -0400
    Re: I am out of trial and error again  Lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-22 23:55 +0100
      Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-22 19:26 -0400
        Re: I am out of trial and error again  Lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-23 00:44 +0100
          Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-22 20:02 -0400
            Re: I am out of trial and error again  Lists MRAB <python@mrabarnett.plus.com> - 2014-10-23 02:29 +0100
            Re: I am out of trial and error again  Lists alex23 <wuwei23@gmail.com> - 2014-10-23 11:37 +1000
              Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-22 21:52 -0400
            Re: I am out of trial and error again  Lists Larry Hudson <orgnut@yahoo.com> - 2014-10-22 19:58 -0700
              Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-22 23:05 -0400
              Re: I am out of trial and error again  Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-22 20:16 -0700
              Re: I am out of trial and error again  Lists Terry Reedy <tjreedy@udel.edu> - 2014-10-23 02:31 -0400
    Re: I am out of trial and error again  Lists MRAB <python@mrabarnett.plus.com> - 2014-10-23 00:09 +0100
    Re: I am out of trial and error again  Lists Larry Hudson <orgnut@yahoo.com> - 2014-10-23 00:10 -0700
      Re: I am out of trial and error again  Lists Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-23 09:23 -0400
        Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-23 10:00 -0400
          Re: I am out of trial and error again  Lists Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-23 20:23 -0400
      Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-23 09:53 -0400
    Re: I am out of trial and error again  Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-23 09:15 +0000
      Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-23 10:04 -0400
        Re: I am out of trial and error again  Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-23 15:55 +0000
          Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-23 13:01 -0400
            Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-23 13:07 -0400
              Re: I am out of trial and error again Lists Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-23 13:39 -0600
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-23 16:15 -0400
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-23 16:44 -0400
                Re: I am out of trial and error again Lists MRAB <python@mrabarnett.plus.com> - 2014-10-23 22:03 +0100
                Re: I am out of trial and error again Lists Larry Hudson <orgnut@yahoo.com> - 2014-10-23 19:13 -0700
              Re: I am out of trial and error again Lists Terry Reedy <tjreedy@udel.edu> - 2014-10-23 23:14 -0400
              Re: I am out of trial and error again Lists Chris Angelico <rosuav@gmail.com> - 2014-10-24 14:32 +1100
            Re: I am out of trial and error again  Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-23 21:56 -0700
              Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 10:38 -0400
                Re: I am out of trial and error again Lists Chris Angelico <rosuav@gmail.com> - 2014-10-25 01:51 +1100
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 11:04 -0400
                Re: I am out of trial and error again Lists Chris Angelico <rosuav@gmail.com> - 2014-10-25 02:13 +1100
                Re: I am out of trial and error again  Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-24 08:56 -0700
                Re: I am out of trial and error again Lists Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-24 10:35 -0600
                Re: I am out of trial and error again Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-24 10:10 -0700
                Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 12:37 -0400
                Re: I am out of trial and error again Lists Chris Angelico <rosuav@gmail.com> - 2014-10-25 03:47 +1100
                Re: I am out of trial and error again Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-24 09:56 -0700
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 13:03 -0400
                Re: I am out of trial and error again Lists "Albert Visser" <albert.visser@gmail.com> - 2014-10-24 19:18 +0200
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 13:23 -0400
                Re: I am out of trial and error again Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-24 10:42 -0700
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 13:42 -0400
                Re: I am out of trial and error again Lists Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-24 11:52 -0600
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 14:15 -0400
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 14:20 -0400
                Re: I am out of trial and error again Lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-24 19:40 +0100
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 15:07 -0400
                Re: I am out of trial and error again Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-24 21:49 +0000
                Re: I am out of trial and error again Lists Larry Hudson <orgnut@yahoo.com> - 2014-10-24 23:46 -0700
                Re: I am out of trial and error again Lists Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-25 08:17 -0600
                Re: I am out of trial and error again Lists Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-25 14:47 -0400
                Re: I am out of trial and error again Lists sohcahtoa82@gmail.com - 2014-10-24 11:57 -0700
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 15:09 -0400
                Re: I am out of trial and error again Lists sohcahtoa82@gmail.com - 2014-10-24 12:25 -0700
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 15:33 -0400
                Re: I am out of trial and error again Lists sohcahtoa82@gmail.com - 2014-10-24 12:55 -0700
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 16:00 -0400
                Re: I am out of trial and error again Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-24 21:19 +0000
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 17:35 -0400
                Re: I am out of trial and error again Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-24 23:23 +0000
                Re: I am out of trial and error again Lists Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-25 14:37 -0400
                Re: I am out of trial and error again Lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-24 19:33 +0100
                Re: I am out of trial and error again  Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-24 09:54 -0700
                Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 13:04 -0400
                Re: I am out of trial and error again  Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-24 10:17 -0700
                Re: I am out of trial and error again  Lists Dave Angel <davea@davea.name> - 2014-10-24 18:09 -0400
                Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 18:27 -0400
                Re: I am out of trial and error again  Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-24 16:01 -0700
                Re: I am out of trial and error again  Lists Terry Reedy <tjreedy@udel.edu> - 2014-10-24 20:27 -0400
                Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 20:42 -0400
                Re: I am out of trial and error again Lists Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-24 11:05 -0600
                Re: I am out of trial and error again Lists Chris Angelico <rosuav@gmail.com> - 2014-10-25 04:10 +1100
                Re: I am out of trial and error again  Lists Larry Hudson <orgnut@yahoo.com> - 2014-10-24 23:04 -0700
                Re: I am out of trial and error again  Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-24 20:37 +0000
                Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 16:58 -0400
                Re: I am out of trial and error again  Lists alister <alister.nospam.ware@ntlworld.com> - 2014-10-24 21:07 +0000
                Re: I am out of trial and error again Lists Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-24 15:11 -0600
                Re: I am out of trial and error again  Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-24 23:21 +0000
                Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 19:48 -0400
                Re: I am out of trial and error again  Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-24 21:48 +0000
                Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 18:14 -0400
                Re: I am out of trial and error again  Lists Grant Edwards <invalid@invalid.invalid> - 2014-10-25 15:01 +0000
                Re: I am out of trial and error again  Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-25 20:51 +0000
                Re: I am out of trial and error again  Lists Larry Hudson <orgnut@yahoo.com> - 2014-10-24 19:16 -0700
                Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 22:41 -0400
                Re: I am out of trial and error again  Lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-25 08:25 +0100
                Re: I am out of trial and error again  Lists Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-25 15:10 -0400
                Re: I am out of trial and error again  Lists Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-25 14:23 -0400
                Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-25 14:42 -0400
                Re: I am out of trial and error again  Lists Terry Reedy <tjreedy@udel.edu> - 2014-10-25 18:48 -0400
                Re: I am out of trial and error again  Lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-26 00:25 +0100
                Re: I am out of trial and error again  Lists Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-26 01:08 -0400
                Re: I am out of trial and error again  Lists Terry Reedy <tjreedy@udel.edu> - 2014-10-26 17:44 -0400
                Re: I am out of trial and error again  Lists Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-26 20:57 -0400
  Re: I am out of trial and error again  Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-22 22:43 +0000
    Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-22 19:11 -0400
      The “trials” in “trial and error” should be as simple as possible (was: I am out of trial and error again  Lists) Ben Finney <ben+python@benfinney.id.au> - 2014-10-23 10:59 +1100
      Re: I am out of trial and error again  Lists Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-23 11:05 +1100
        Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-22 20:10 -0400
          Re: I am out of trial and error again  Lists MRAB <python@mrabarnett.plus.com> - 2014-10-23 02:31 +0100
            Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-22 21:35 -0400
              Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-22 21:57 -0400
                Re: I am out of trial and error again  Lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-23 08:20 +0100
                Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-23 10:01 -0400
                Re: I am out of trial and error again Lists Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-23 01:56 -0600
                Re: I am out of trial and error again Lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-23 09:09 +0100
                Re: I am out of trial and error again Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-23 06:42 -0700
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-23 10:03 -0400
                Re: I am out of trial and error again Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-23 08:35 -0700
                Re: I am out of trial and error again Lists giacomo boffi <pecore@pascolo.net> - 2014-10-23 16:25 +0200
                Re: I am out of trial and error again Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-23 10:29 -0400
                Re: I am out of trial and error again Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-23 16:00 +0000
              Re: I am out of trial and error again  Lists giacomo boffi <pecore@pascolo.net> - 2014-10-23 16:40 +0200
                Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-23 10:46 -0400
                Re: I am out of trial and error again  Lists giacomo boffi <pecore@pascolo.net> - 2014-10-24 17:56 +0200
      Re: I am out of trial and error again  Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-23 09:21 +0000
  Re: I am out of trial and error again  Lists Tobiah <toby@tobiah.org> - 2014-10-23 07:51 -0700
  Re: I am out of trial and error again  Lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-24 08:05 +0100
    Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 10:47 -0400
      Re: I am out of trial and error again  Lists mm0fmf <none@mailinator.com> - 2014-10-24 22:06 +0100
  Re: I am out of trial and error again  Lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-24 09:12 +0100
    Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 10:48 -0400
  Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 18:26 -0400
  Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 18:58 -0400
    Re: I am out of trial and error again  Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-24 16:27 -0700
      Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 19:48 -0400
        Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 19:57 -0400
          Re: I am out of trial and error again  Lists MRAB <python@mrabarnett.plus.com> - 2014-10-25 01:20 +0100
            Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 20:37 -0400
              Re: I am out of trial and error again  Lists Cameron Simpson <cs@zip.com.au> - 2014-10-25 11:52 +1100
        Re: I am out of trial and error again  Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-24 20:46 -0700
          Re: I am out of trial and error again  Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-24 21:09 -0700
            Re: I am out of trial and error again  Lists Ben Finney <ben+python@benfinney.id.au> - 2014-10-25 15:25 +1100
              Re: I am out of trial and error again  Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-24 22:40 -0700
                Re: I am out of trial and error again Lists Chris Angelico <rosuav@gmail.com> - 2014-10-25 16:49 +1100
                Re: I am out of trial and error again Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-24 22:55 -0700
                Re: I am out of trial and error again Lists Chris Angelico <rosuav@gmail.com> - 2014-10-25 17:03 +1100
                Re: I am out of trial and error again Lists Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-25 18:44 +1100
                Re: I am out of trial and error again Lists Rustom Mody <rustompmody@gmail.com> - 2014-10-25 10:24 -0700
                Side-effects [was Re: I am out of trial and error again Lists] Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-26 17:12 +1100
                Re: Side-effects [was Re: I am out of trial and error again Lists] Chris Angelico <rosuav@gmail.com> - 2014-10-26 17:42 +1100
          Re: I am out of trial and error again  Lists giacomo boffi <pecore@pascolo.net> - 2014-10-27 22:26 +0100
    Re: I am out of trial and error again  Lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-25 00:27 +0100
    Re: I am out of trial and error again  Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-24 23:35 +0000
  Re: I am out of trial and error again  Lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-24 20:15 -0400
    Re: I am out of trial and error again  Lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-25 22:15 +0000

csiph-web