Re: Nested Loop Code Help

2020-01-26 Thread DL Neil via Python-list
On 27/01/20 1:53 PM, Richard Damon wrote: On 1/26/20 6:52 PM, DL Neil via Python-list wrote: On 27/01/20 4:15 AM, ferzan saglam wrote: Hello people, I have written the code below which works fine, but it has one small problem. Instead of printing one (x) on the first line, it prints two. I

Re: Nested Loop Code Help

2020-01-26 Thread Richard Damon
On 1/26/20 6:52 PM, DL Neil via Python-list wrote: On 27/01/20 4:15 AM, ferzan saglam wrote: Hello people, I have written the code below which works fine, but it has one small problem. Instead of printing one (x) on the first line, it prints two. I have tried everything in my knowledge, but

Re: Nested Loop Code Help

2020-01-26 Thread DL Neil via Python-list
On 27/01/20 4:15 AM, ferzan saglam wrote: Hello people, I have written the code below which works fine, but it has one small problem. Instead of printing one (x) on the first line, it prints two. I have tried everything in my knowledge, but cannot fix the problem. Thanks for any help in

Re: Nested Loop Code Help

2020-01-26 Thread Richard Damon
On 1/26/20 6:11 PM, Greg Ewing wrote: On 27/01/20 4:15 am, ferzan saglam wrote: for x in range ( 0, 10):    stars = 'x'    count = 0 By the way, this 'for' loop is unnecessary. The end result is just to give initial values to three names. You don't need a loop at all for that, just three

Re: Nested Loop Code Help

2020-01-26 Thread Greg Ewing
On 27/01/20 4:15 am, ferzan saglam wrote: for x in range ( 0, 10): stars = 'x' count = 0 By the way, this 'for' loop is unnecessary. The end result is just to give initial values to three names. You don't need a loop at all for that, just three assignment statements.

Re: Nested Loop Code Help

2020-01-26 Thread Richard Damon
On 1/26/20 10:15 AM, ferzan saglam wrote: Hello people, I have written the code below which works fine, but it has one small problem. Instead of printing one (x) on the first line, it prints two. I have tried everything in my knowledge, but cannot fix the problem. Thanks for any help in

Re: Nested Loop Code Help

2020-01-26 Thread ferzan saglam
On Sunday, January 26, 2020 at 3:26:40 PM UTC, Dan Purgert wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > ferzan saglam wrote: > > Hello people, I have written the code below which works fine, but it > > has one small problem. Instead of printing one (x) on the first line, > > it

Re: Nested Loop Code Help

2020-01-26 Thread Dan Purgert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 ferzan saglam wrote: > Hello people, I have written the code below which works fine, but it > has one small problem. Instead of printing one (x) on the first line, > it prints two. > I have tried everything in my knowledge, but cannot fix the

Nested Loop Code Help

2020-01-26 Thread ferzan saglam
Hello people, I have written the code below which works fine, but it has one small problem. Instead of printing one (x) on the first line, it prints two. I have tried everything in my knowledge, but cannot fix the problem. Thanks for any help in advance. for x in range ( 0, 10):

Re: how to exit from a nested loop in python

2019-02-09 Thread DL Neil
1) <= g[-1]: if (Temp[i]['cost'][j] <= (run_parameters.PSD): -- When this condition is true i want to break the nested loop and start from the begining served_count +=1 A.T[i]["First_index"]= s

Re: how to exit from a nested loop in python

2019-02-08 Thread Rurpy via Python-list
for s in range(g[0], g[-1]): > if (s+req_slots[j]-1) <= g[-1]: > if (Temp[i]['cost'][j] <= (run_parameters.PSD): -- When > this condition is true i want to break the nested loop and start from the > begining >served_cou

Re: how to exit from a nested loop in python

2019-02-08 Thread Peter Otten
if (s+req_slots[j]-1) <= g[-1]: > if (Temp[i]['cost'][j] <= (run_parameters.PSD): -- > When this condition is true i want to break the nested > loop and start from the begining >served_cou

how to exit from a nested loop in python

2019-02-07 Thread Kaka
Temp[i]['cost'][j] <= (run_parameters.PSD): -- When this condition is true i want to break the nested loop and start from the begining served_count +=1 A.T[i]["First_index"]= s A.T[i]["Last_index"]= s+req_slots[j]

[issue34076] Nested loop in dictionary comprehension gives `global name not defined` inside class

2018-07-10 Thread Jan Christoph
Jan Christoph added the comment: Updated example with reversed variable order for reference. This really seems to be related to issue3692, but really not the same thing. IMHO both `a` and `b` should be passed in a situation like this: a = range(5) b = range(3) c = [x+y for x in a for y

[issue34076] Nested loop in dictionary comprehension gives `global name not defined` inside class

2018-07-10 Thread Jan Christoph
Jan Christoph added the comment: Okay, so we're a in another scope inside the dictionary comprehension (all comprehensions for that matter), and only one symbol is passed to the inside. That's why `strange_reversed_working = {x+s.replace('(+/-)',''):None for x in infts.split(', ') for s in

[issue34076] Nested loop in dictionary comprehension gives `global name not defined` inside class

2018-07-10 Thread Jan Christoph
Jan Christoph added the comment: But the simpler dictionary compprehension `{s.replace('(+/-)',''):None for s in infts.split(', ')}` works perfectly. Shouldn't that also give the error if it was a scope issue? -- ___ Python tracker

[issue34076] Nested loop in dictionary comprehension gives `global name not defined` inside class

2018-07-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This looks like a duplicate of issue3692. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> improper scope in list comprehension, when used in class declaration

[issue34076] Nested loop in dictionary comprehension gives `global name not defined` inside class

2018-07-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this is explained in the below answers with example that the left most loop in the comprehension has access to the class variables which the nested comprehensions don't have https://stackoverflow.com/a/22692274/2610955

[issue34076] Nested loop in dictionary comprehension gives `global name not defined` inside class

2018-07-09 Thread Jan Christoph
: what_a_dict.py messages: 321326 nosy: con-f-use priority: normal severity: normal status: open title: Nested loop in dictionary comprehension gives `global name not defined` inside class type: behavior versions: Python 2.7 Added file: https://bugs.python.org/file47678/what_a_dict.py

[issue2793] Dictionary fails to index when adding list when in a deeply nested loop

2018-01-26 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: -5177 ___ Python tracker ___ ___

[issue2793] Dictionary fails to index when adding list when in a deeply nested loop

2018-01-25 Thread Jay Yin
Change by Jay Yin : -- pull_requests: +5177 ___ Python tracker ___ ___

Re: Nested Loop Triangle

2017-05-25 Thread Jason Friedman
> > I need the triangle to be in reverse. The assignment requires a nested > loop to generate a triangle with the user input of how many lines. > > Currently, I get answers such as: (A) > > OOO > OO > O > > When I actually need it to be like this: (B) >

Re: Nested Loop to Generate Triangle

2017-05-25 Thread MRAB
On 2017-05-25 17:28, Victor Demelo wrote: I need the triangle to be in reverse. The assignment requires a nested loop to generate a triangle with the user input of how many lines. Currently, I get answers such as: OOO OO O When I actually need it to be like this: OOO OO O I

Re: Nested Loop to Generate Triangle

2017-05-25 Thread Peter Pearson
On Thu, 25 May 2017 09:28:31 -0700 (PDT), Victor Demelo wrote: > I need the triangle to be in reverse. The assignment requires a nested > loop to generate a triangle with the user input of how many lines. > > Currently, I get answers such as: > > OOO > OO > O

Nested Loop Triangle

2017-05-25 Thread Victor Demelo
I need the triangle to be in reverse. The assignment requires a nested loop to generate a triangle with the user input of how many lines. Currently, I get answers such as: (A) OOO OO O When I actually need it to be like this: (B) OOO OO O I need the display

Re: Nested Loop to Generate Triangle

2017-05-25 Thread Victor Demelo
On Thursday, May 25, 2017 at 12:28:45 PM UTC-4, Victor Demelo wrote: > I need the triangle to be in reverse. The assignment requires a nested loop > to generate a triangle with the user input of how many lines. > > Currently, I get answers such as: > > OOO > OO > O &

Re: Nested Loop to Generate Triangle

2017-05-25 Thread Victor Demelo
On Thursday, May 25, 2017 at 12:28:45 PM UTC-4, Victor Demelo wrote: > I need the triangle to be in reverse. The assignment requires a nested loop > to generate a triangle with the user input of how many lines. > > Currently, I get answers such as: > > OOO > OO > O &

Nested Loop to Generate Triangle

2017-05-25 Thread Victor Demelo
I need the triangle to be in reverse. The assignment requires a nested loop to generate a triangle with the user input of how many lines. Currently, I get answers such as: OOO OO O When I actually need it to be like this: OOO OO O I just need to get it flipped-over

Re: First day beginner to python, add to counter after nested loop

2013-11-03 Thread Antoon Pardon
Op 02-11-13 21:19, Tim Roberts schreef: jonas.thornv...@gmail.com wrote: I certainly do not like the old bracket style it was a catastrophe, but in honesty the gui editor of python should have what i propose, a parser that indent automaticly at loops, functions and end. Many editors do

Re: First day beginner to python, add to counter after nested loop

2013-11-03 Thread jonas . thornvall
Den lördagen den 2:e november 2013 kl. 21:19:44 UTC+1 skrev Tim Roberts: jonas.thornv...@gmail.com wrote: I certainly do not like the old bracket style it was a catastrophe, but in honesty the gui editor of python should have what i propose, a parser that indent automaticly at

Re: First day beginner to python, add to counter after nested loop

2013-11-03 Thread jonas . thornvall
Den lördagen den 2:e november 2013 kl. 21:19:44 UTC+1 skrev Tim Roberts: jonas.thornv...@gmail.com wrote: I certainly do not like the old bracket style it was a catastrophe, but in honesty the gui editor of python should have what i propose, a parser that indent automaticly at

Re: First day beginner to python, add to counter after nested loop

2013-11-02 Thread Tim Roberts
jonas.thornv...@gmail.com wrote: I certainly do not like the old bracket style it was a catastrophe, but in honesty the gui editor of python should have what i propose, a parser that indent automaticly at loops, functions and end. Many editors do that. Vim, which is what I use, certainly does.

Re: First day beginner to python, add to counter after nested loop

2013-11-01 Thread Alister
On Thu, 31 Oct 2013 04:07:14 -0700, rusi wrote: Also others (Alister?) were double-space-reply-posting as well. When you mean to point out a behavior without getting personal, it helps to point out all instances of that behavior. Otherwise it looks like you are going for someone, when in

Re: First day beginner to python, add to counter after nested loop

2013-11-01 Thread rusi
On Friday, November 1, 2013 4:47:40 PM UTC+5:30, Alister wrote: On Thu, 31 Oct 2013 04:07:14 -0700, rusi wrote: Also others (Alister?) were double-space-reply-posting as well. When you mean to point out a behavior without getting personal, it helps to point out all instances of that

Re: First day beginner to python, add to counter after nested loop

2013-10-31 Thread rusi
On Thursday, October 31, 2013 2:37:31 AM UTC+5:30, Antoon Pardon wrote: Op 30-10-13 21:52, Ned Batchelder schreef: On 10/30/13 3:59 PM, Antoon Pardon wrote: Op 30-10-13 20:13, Jonas schreef: No it isn't... The programmers of the tools on either of side will have to adapt. I wish it

Re: First day beginner to python, add to counter after nested loop

2013-10-31 Thread Mark Lawrence
On 31/10/2013 07:37, rusi wrote: If Mark had not been rude to Jonas and explained to him at a little more length, maybe he would not be assholing in full-blast. What rubbish. The OP was asked repeatedly, first by Dave Angel and then by myself, not to post double spaced crap. He simply

Re: First day beginner to python, add to counter after nested loop

2013-10-31 Thread rusi
On Thursday, October 31, 2013 3:41:41 PM UTC+5:30, Mark Lawrence wrote: On 31/10/2013 07:37, rusi wrote: If Mark had not been rude to Jonas and explained to him at a little more length, maybe he would not be assholing in full-blast. What rubbish. The OP was asked repeatedly, first by Dave

Re: First day beginner to python, add to counter after nested loop

2013-10-31 Thread Antoon Pardon
Op 31-10-13 08:37, rusi schreef: On Thursday, October 31, 2013 2:37:31 AM UTC+5:30, Antoon Pardon wrote: Op 30-10-13 21:52, Ned Batchelder schreef: On 10/30/13 3:59 PM, Antoon Pardon wrote: Op 30-10-13 20:13, Jonas schreef: No it isn't... The programmers of the tools on either of side will

Re: First day beginner to python, add to counter after nested loop

2013-10-31 Thread rusi
On Thursday, October 31, 2013 4:42:15 PM UTC+5:30, Antoon Pardon wrote: Op 31-10-13 08:37, rusi schreef: 2. Antoon: I was a bit surprised at your siding with the indentation business. As an old-geezer programmer I can think of a number of reasons why, indentation=structure is a problem.

Re: First day beginner to python, add to counter after nested loop

2013-10-31 Thread Mark Lawrence
On 31/10/2013 11:40, rusi wrote: Please treat python as a given -- like the sun, moon and taxes. You missed the most obvious one, trolls :) -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence --

Re: First day beginner to python, add to counter after nested loop

2013-10-31 Thread rusi
On Thursday, October 31, 2013 7:31:14 PM UTC+5:30, Mark Lawrence wrote: On 31/10/2013 11:40, rusi wrote: Please treat python as a given -- like the sun, moon and taxes. You missed the most obvious one, trolls :) :D Only that's not an element but a set -- trolls, nuts, dicks, philosophers --

Re: First day beginner to python, add to counter after nested loop

2013-10-31 Thread alex23
On 30/10/2013 8:19 PM, jonas.thornv...@gmail.com wrote: It is quite simple i could program it in a day... There is certainly nothing stopping you from doing so. Once finished, I recommend placing it on PyPI; if it reaches a critical mass of downloads that support your thesis that it will

Re: First day beginner to python, add to counter after nested loop

2013-10-31 Thread alex23
On 31/10/2013 2:14 AM, jonas.thornv...@gmail.com wrote: Well i ain't going to change Thanks for your honesty. As I use an actual standards-compliant newsreader, I can now safely killfile you and never have to notice your laziness again. --

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Tim Roberts
jonas.thornv...@gmail.com wrote: Why did Python not implement end... The end is really not necessary for the programming language it can be excluded, but it is a courtesy to the programmer and could easily be transformed to indents automaticly, that is removed before the

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 08:07:31 UTC+1 skrev Tim Roberts: jonas.thornv...@gmail.com wrote: Why did Python not implement end... The end is really not necessary for the programming language it can be excluded, but it is a courtesy to the programmer and could easily be

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 09:52:16 UTC+1 skrev jonas.t...@gmail.com: Den onsdagen den 30:e oktober 2013 kl. 08:07:31 UTC+1 skrev Tim Roberts: jonas.thornv...@gmail.com wrote: Why did Python not implement end... The end is really not necessary for the

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 10:48:36 UTC+1 skrev jonas.t...@gmail.com: Den onsdagen den 30:e oktober 2013 kl. 09:52:16 UTC+1 skrev jonas.t...@gmail.com: Den onsdagen den 30:e oktober 2013 kl. 08:07:31 UTC+1 skrev Tim Roberts: jonas.thornv...@gmail.com wrote:

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Mark Lawrence
On 30/10/2013 09:52, jonas.thornv...@gmail.com wrote: Please stop sending us double spaced crap. -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 08:07:31 UTC+1 skrev Tim Roberts: jonas.thornv...@gmail.com wrote: Why did Python not implement end... The end is really not necessary for the programming language it can be excluded, but it is a courtesy to the programmer and could easily be

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 11:08:11 UTC+1 skrev jonas.t...@gmail.com: Den onsdagen den 30:e oktober 2013 kl. 08:07:31 UTC+1 skrev Tim Roberts: jonas.thornv...@gmail.com wrote: Why did Python not implement end... The end is really not necessary for the

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 11:00:30 UTC+1 skrev Mark Lawrence: On 30/10/2013 09:52, jonas.thornv...@gmail.com wrote: Please stop sending us double spaced crap. -- Python is the second best programming language in the world. But the best has yet to be invented.

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 11:11:17 UTC+1 skrev jonas.t...@gmail.com: Den onsdagen den 30:e oktober 2013 kl. 11:08:11 UTC+1 skrev jonas.t...@gmail.com: Den onsdagen den 30:e oktober 2013 kl. 08:07:31 UTC+1 skrev Tim Roberts: jonas.thornv...@gmail.com wrote:

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Chris Angelico
On Wed, Oct 30, 2013 at 9:08 PM, jonas.thornv...@gmail.com wrote: Well Tim ***one could argue*** why not do a (i think it is called parser) that react to loop, end and function. And lazy like me do not have to think about what is not part of program. Python actually does have a symbol for

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 11:00:30 UTC+1 skrev Mark Lawrence: On 30/10/2013 09:52, jonas.thornv...@gmail.com wrote: Please stop sending us double spaced crap. -- Python is the second best programming language in the world. But the best has yet to be invented.

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Antoon Pardon
Op 30-10-13 08:07, Tim Roberts schreef: jonas.thornv...@gmail.com wrote: Why did Python not implement end... The end is really not necessary for the programming language it can be excluded, but it is a courtesy to the programmer and could easily be transformed to indents automaticly, that is

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread rusi
On Wednesday, October 30, 2013 3:43:03 PM UTC+5:30, jonas.t...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 11:00:30 UTC+1 skrev Mark Lawrence: * * Please stop sending us double spaced crap. * * Mark Lawrence * I am not sure what you want. And then again * You want me to remove the

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Chris Angelico
On Wed, Oct 30, 2013 at 11:01 PM, Antoon Pardon antoon.par...@rece.vub.ac.be wrote: Because it is a pain in the ass. Now suddenly my program doesn't work because I somehow inserted a tab instead of spaces. I broadly agree with your post (I'm of the school of thought that braces are better than

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Antoon Pardon
Op 30-10-13 13:17, Chris Angelico schreef: On Wed, Oct 30, 2013 at 11:01 PM, Antoon Pardon antoon.par...@rece.vub.ac.be wrote: Because it is a pain in the ass. Now suddenly my program doesn't work because I somehow inserted a tab instead of spaces. I broadly agree with your post (I'm of the

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Ned Batchelder
On 10/30/13 6:13 AM, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 11:00:30 UTC+1 skrev Mark Lawrence: On 30/10/2013 09:52, jonas.thornv...@gmail.com wrote: Please stop sending us double spaced crap. -- Python is the second best programming language in the

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Alister
On Wed, 30 Oct 2013 03:08:11 -0700, jonas.thornvall wrote: Den onsdagen den 30:e oktober 2013 kl. 08:07:31 UTC+1 skrev Tim Roberts: jonas.thornv...@gmail.com wrote: I certainly do not like the old bracket style it was a catastrophe, but in honesty the gui editor of python should have what

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Alister
On Wed, 30 Oct 2013 13:42:37 +0100, Antoon Pardon wrote: Op 30-10-13 13:17, Chris Angelico schreef: On Wed, Oct 30, 2013 at 11:01 PM, Antoon Pardon antoon.par...@rece.vub.ac.be wrote: I broadly agree with your post (I'm of the school of thought that braces are better than indentation for

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 11:11:17 UTC+1 skrev jonas.t...@gmail.com: Den onsdagen den 30:e oktober 2013 kl. 11:08:11 UTC+1 skrev jonas.t...@gmail.com: Den onsdagen den 30:e oktober 2013 kl. 08:07:31 UTC+1 skrev Tim Roberts: jonas.thornv...@gmail.com wrote: I

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 15:22:50 UTC+1 skrev Alister: On Wed, 30 Oct 2013 13:42:37 +0100, Antoon Pardon wrote: Op 30-10-13 13:17, Chris Angelico schreef: On Wed, Oct 30, 2013 at 11:01 PM, Antoon Pardon antoon.par...@rece.vub.ac.be wrote: I broadly agree with

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Antoon Pardon
Op 30-10-13 15:22, Alister schreef: On Wed, 30 Oct 2013 13:42:37 +0100, Antoon Pardon wrote: Op 30-10-13 13:17, Chris Angelico schreef: On Wed, Oct 30, 2013 at 11:01 PM, Antoon Pardon antoon.par...@rece.vub.ac.be wrote: I broadly agree with your post (I'm of the school of thought that

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Mark Lawrence
On 30/10/2013 14:31, jonas.thornv...@gmail.com wrote: Would you please be kind enough to read, digest and action this https://wiki.python.org/moin/GoogleGroupsPython TIA. -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Alister
On Wed, 30 Oct 2013 07:31:04 -0700, jonas.thornvall wrote: Den onsdagen den 30:e oktober 2013 kl. 15:22:50 UTC+1 skrev Alister: On Wed, 30 Oct 2013 13:42:37 +0100, Antoon Pardon wrote: Op 30-10-13 13:17, Chris Angelico schreef: On Wed, Oct 30, 2013 at 11:01 PM, Antoon Pardon

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark Lawrence: On 30/10/2013 14:31, jonas.thornv...@gmail.com wrote: Would you please be kind enough to read, digest and action this https://wiki.python.org/moin/GoogleGroupsPython TIA. -- Python is the

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Mark Lawrence
On 30/10/2013 15:35, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark Lawrence: On 30/10/2013 14:31, jonas.thornv...@gmail.com wrote: Would you please be kind enough to read, digest and action this

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Grant Edwards
On 2013-10-30, Antoon Pardon antoon.par...@rece.vub.ac.be wrote: Op 30-10-13 08:07, Tim Roberts schreef: jonas.thornv...@gmail.com wrote: Why did Python not implement end... The end is really not necessary for the programming language it can be excluded, but it is a courtesy to the

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 16:35:29 UTC+1 skrev jonas.t...@gmail.com: Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark Lawrence: On 30/10/2013 14:31, jonas.thornv...@gmail.com wrote: Would you please be kind enough to read, digest and action

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread rusi
On Wednesday, October 30, 2013 9:05:29 PM UTC+5:30, Jonas Thornval wrote: Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark Lawrence: On 30/10/2013 14:31, Jonas Thornval wrote: Would you please be kind enough to read, digest and action this

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Alister
On Wed, 30 Oct 2013 08:35:29 -0700, jonas.thornvall wrote: Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark Lawrence: On 30/10/2013 14:31, jonas.thornv...@gmail.com wrote: Would you please be kind enough to read, digest and action this

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 16:54:19 UTC+1 skrev Mark Lawrence: On 30/10/2013 15:35, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark Lawrence: On 30/10/2013 14:31, jonas.thornv...@gmail.com wrote: Would you

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 16:50:43 UTC+1 skrev Grant Edwards: On 2013-10-30, Antoon Pardon antoon.par...@rece.vub.ac.be wrote: Op 30-10-13 08:07, Tim Roberts schreef: jonas.thornv...@gmail.com wrote: Why did Python not implement end... The end is really not necessary

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Alister
On Wed, 30 Oct 2013 15:56:32 +0100, Antoon Pardon wrote: Op 30-10-13 15:22, Alister schreef: On Wed, 30 Oct 2013 13:42:37 +0100, Antoon Pardon wrote: Op 30-10-13 13:17, Chris Angelico schreef: On Wed, Oct 30, 2013 at 11:01 PM, Antoon Pardon antoon.par...@rece.vub.ac.be wrote: I broadly

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Alister
On Wed, 30 Oct 2013 08:57:08 -0700, jonas.thornvall wrote: Den onsdagen den 30:e oktober 2013 kl. 16:54:19 UTC+1 skrev Mark Lawrence: On 30/10/2013 15:35, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark Lawrence: On 30/10/2013 14:31,

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 16:51:58 UTC+1 skrev Alister: On Wed, 30 Oct 2013 08:35:29 -0700, jonas.thornvall wrote: Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark Lawrence: On 30/10/2013 14:31, jonas.thornv...@gmail.com wrote: Would

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread rusi
On Wednesday, October 30, 2013 9:27:08 PM UTC+5:30, jonas.t...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 16:54:19 UTC+1 skrev Mark Lawrence: The simplest solution is that you stop posting, as you've been spewing this double spaced crap all day and show no inclination to do

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Alister
On Wed, 30 Oct 2013 16:07:47 +, Alister wrote: On Wed, 30 Oct 2013 15:56:32 +0100, Antoon Pardon wrote: Op 30-10-13 15:22, Alister schreef: On Wed, 30 Oct 2013 13:42:37 +0100, Antoon Pardon wrote: Op 30-10-13 13:17, Chris Angelico schreef: On Wed, Oct 30, 2013 at 11:01 PM, Antoon

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 16:54:19 UTC+1 skrev Mark Lawrence: On 30/10/2013 15:35, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark Lawrence: On 30/10/2013 14:31, jonas.thornv...@gmail.com wrote: Would you

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Mark Lawrence
On 30/10/2013 15:57, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 16:54:19 UTC+1 skrev Mark Lawrence: On 30/10/2013 15:35, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark Lawrence: On 30/10/2013 14:31,

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Kushal Kumaran
rusi rustompm...@gmail.com writes: On Wednesday, October 30, 2013 9:05:29 PM UTC+5:30, Jonas Thornval wrote: Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark Lawrence: On 30/10/2013 14:31, Jonas Thornval wrote: Would you please be kind enough to read, digest and action this

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 17:22:23 UTC+1 skrev Mark Lawrence: On 30/10/2013 15:57, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 16:54:19 UTC+1 skrev Mark Lawrence: On 30/10/2013 15:35, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Mark Lawrence
On 30/10/2013 16:16, rusi wrote: On Wednesday, October 30, 2013 9:27:08 PM UTC+5:30, jonas.t...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 16:54:19 UTC+1 skrev Mark Lawrence: The simplest solution is that you stop posting, as you've been spewing this double spaced crap all day and

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread rusi
Super Kushal! Below is the result of that First the original Then emacs' cleaned up version! -Original -- On Wednesday, October 30, 2013 10:00:47 PM UTC+5:30, Kushal Kumaran wrote: rusi writes: On Wednesday, October 30, 2013 9:05:29 PM

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread rurpy
On 10/30/2013 08:22 AM, Alister wrote: On Wed, 30 Oct 2013 13:42:37 +0100, Antoon Pardon wrote: Op 30-10-13 13:17, Chris Angelico schreef: On Wed, Oct 30, 2013 at 11:01 PM, Antoon Pardon antoon.par...@rece.vub.ac.be wrote: I broadly agree with your post (I'm of the school of thought that

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread MRAB
On 30/10/2013 16:31, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 17:22:23 UTC+1 skrev Mark Lawrence: No that is not my problem, apparently so it is that the newsreader constructors do not like the competition of Google groups otherwise they would had written the

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 18:44:20 UTC+1 skrev MRAB: On 30/10/2013 16:31, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 17:22:23 UTC+1 skrev Mark Lawrence: No that is not my problem, apparently so it is that the newsreader constructors do not like

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 18:44:20 UTC+1 skrev MRAB: On 30/10/2013 16:31, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 17:22:23 UTC+1 skrev Mark Lawrence: No that is not my problem, apparently so it is that the newsreader constructors do not like

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Antoon Pardon
Op 30-10-13 17:31, jonas.thornv...@gmail.com schreef: Den onsdagen den 30:e oktober 2013 kl. 17:22:23 UTC+1 skrev Mark Lawrence: I have no need to implement a newsreader as I can quite happily send and receive data using Thunderbird. There are several other similar email options available.

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 19:01:40 UTC+1 skrev Antoon Pardon: Op 30-10-13 17:31, jonas.thornv...@gmail.com schreef: Den onsdagen den 30:e oktober 2013 kl. 17:22:23 UTC+1 skrev Mark Lawrence: I have no need to implement a newsreader as I can quite happily send and

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Antoon Pardon
Op 30-10-13 16:50, Grant Edwards schreef: On 2013-10-30, Antoon Pardon antoon.par...@rece.vub.ac.be wrote: Because it is a pain in the ass. Now suddenly my program doesn't work because I somehow inserted a tab instead of spaces. Then don't do that. I'm only half-kidding. Inserting

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Mark Lawrence
On 30/10/2013 18:43, jonas.thornv...@gmail.com wrote: And ***that is not by having every stupid anal monkey sitting manually removing linebreaks by hand*** Is that understood? Nobody would have to remove line breaks by hand if you, yes you jonasthornvall at GMAIL.COM didn't use a tool that

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Antoon Pardon
Op 30-10-13 19:02, jonas.thornv...@gmail.com schreef: Den onsdagen den 30:e oktober 2013 kl. 18:44:20 UTC+1 skrev MRAB: On 30/10/2013 16:31, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 17:22:23 UTC+1 skrev Mark Lawrence: No that is not my problem, apparently so

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 20:05:07 UTC+1 skrev Mark Lawrence: On 30/10/2013 18:43, jonas.thornv...@gmail.com wrote: And ***that is not by having every stupid anal monkey sitting manually removing linebreaks by hand*** Is that understood? Nobody would have to

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread jonas . thornvall
Den onsdagen den 30:e oktober 2013 kl. 20:09:45 UTC+1 skrev Antoon Pardon: Op 30-10-13 19:02, jonas.thornv...@gmail.com schreef: Den onsdagen den 30:e oktober 2013 kl. 18:44:20 UTC+1 skrev MRAB: On 30/10/2013 16:31, jonas.thornv...@gmail.com wrote: Den onsdagen den 30:e oktober

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Antoon Pardon
Op 30-10-13 20:13, jonas.thornv...@gmail.com schreef: Den onsdagen den 30:e oktober 2013 kl. 20:05:07 UTC+1 skrev Mark Lawrence: On 30/10/2013 18:43, jonas.thornv...@gmail.com wrote: And ***that is not by having every stupid anal monkey sitting manually removing linebreaks by hand***

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Ned Batchelder
On 10/30/13 3:59 PM, Antoon Pardon wrote: Op 30-10-13 20:13, jonas.thornv...@gmail.com schreef: Den onsdagen den 30:e oktober 2013 kl. 20:05:07 UTC+1 skrev Mark Lawrence: On 30/10/2013 18:43, jonas.thornv...@gmail.com wrote: And ***that is not by having every stupid anal monkey sitting

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Antoon Pardon
Op 30-10-13 21:52, Ned Batchelder schreef: On 10/30/13 3:59 PM, Antoon Pardon wrote: Op 30-10-13 20:13, jonas.thornv...@gmail.com schreef: No it isn't... The programmers of the tools on either of side will have to adapt. I wish it would be Google but it could be a database problem, but what

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread Dave Angel
On 30/10/2013 12:31, jonas.thornv...@gmail.com wrote: No that is not my problem, apparently so it is that the newsreader constructors do not like the competition of Google groups otherwise they would had written the five lines of codes necessary to remove the empty linebreaks. I like

  1   2   3   >