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


Groups > comp.lang.python > #46450

Re: Can anyone please help me in understanding the following python code

X-Received by 10.224.205.138 with SMTP id fq10mr3937110qab.1.1369909199591; Thu, 30 May 2013 03:19:59 -0700 (PDT)
X-Received by 10.50.112.105 with SMTP id ip9mr975784igb.1.1369909199525; Thu, 30 May 2013 03:19:59 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!p1no1503259qaj.0!news-out.google.com!y6ni57333qax.0!nntp.google.com!ch1no2900842qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Thu, 30 May 2013 03:19:59 -0700 (PDT)
In-Reply-To <921173f3-21e7-46b4-a7b1-86660a3ebc72@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=125.22.43.12; posting-account=0usDrQoAAADJM5SVChr943kcqPHAKQZz
NNTP-Posting-Host 125.22.43.12
References <921173f3-21e7-46b4-a7b1-86660a3ebc72@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <fd037baa-b5b0-435e-b035-4e25b0d3acbd@googlegroups.com> (permalink)
Subject Re: Can anyone please help me in understanding the following python code
From bhk755@gmail.com
Injection-Date Thu, 30 May 2013 10:19:59 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:46450

Show key headers only | View raw


Thanks for the reply Chris.

I am newbie to python, so please excuse me if I am asking chilly questions.

Can you please explain more about the following sentence.
"When it says "Splitting" with a single-element list, it then 
immediately prints "Merging" and returns (because all the rest of the 
code is guarded by the 'if'). Execution then continues where it left 
off, in the parent."

Because I am not sure how the control can go back to top of the function unless  there is no loops there.

Also, Can you please let me know how did you found out that I am using Python 2 Interpreter.


Bharath

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


Thread

Can anyone please help me in understanding the following python code bhk755@gmail.com - 2013-05-30 02:48 -0700
  Re: Can anyone please help me in understanding the following python code Chris Angelico <rosuav@gmail.com> - 2013-05-30 20:01 +1000
  Re: Can anyone please help me in understanding the following python code Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2013-05-30 10:17 +0000
  Re: Can anyone please help me in understanding the following python code bhk755@gmail.com - 2013-05-30 03:19 -0700
    Re: Can anyone please help me in understanding the following python	code Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2013-05-30 10:43 +0000
    Re: Can anyone please help me in understanding the following python code Chris Angelico <rosuav@gmail.com> - 2013-05-30 20:47 +1000
    Re: Can anyone please help me in understanding the following python code Joshua Landau <joshua.landau.ws@gmail.com> - 2013-05-30 12:11 +0100
  Re: Can anyone please help me in understanding the following python code Joshua Landau <joshua.landau.ws@gmail.com> - 2013-05-30 12:03 +0100
  Re: Can anyone please help me in understanding the following python code bhk755@gmail.com - 2013-05-30 05:39 -0700
    Re: Can anyone please help me in understanding the following python code bhk755@gmail.com - 2013-05-30 05:42 -0700
      Re: Can anyone please help me in understanding the following python code Dave Angel <davea@davea.name> - 2013-05-30 09:29 -0400
    Re: Can anyone please help me in understanding the following python code bhk755@gmail.com - 2013-05-30 05:42 -0700
    Re: Can anyone please help me in understanding the following python code Chris Angelico <rosuav@gmail.com> - 2013-05-30 22:55 +1000
  Re: Can anyone please help me in understanding the following python code bhk755@gmail.com - 2013-05-30 06:01 -0700
  Re: Can anyone please help me in understanding the following python code bhk755@gmail.com - 2013-05-30 21:53 -0700
  Re: Can anyone please help me in understanding the following python code bhk755@gmail.com - 2013-05-30 21:54 -0700
    Re: Can anyone please help me in understanding the following python code Cameron Simpson <cs@zip.com.au> - 2013-05-31 15:43 +1000
    Re: Can anyone please help me in understanding the following python code Chris Angelico <rosuav@gmail.com> - 2013-05-31 17:13 +1000
  Re: Can anyone please help me in understanding the following python code rusi <rustompmody@gmail.com> - 2013-06-01 10:43 -0700

csiph-web