Re: code indentation

2007-07-26 Thread Steve Holden
Ben Finney wrote: > Steve Holden <[EMAIL PROTECTED]> writes: > >> We should be making allowances for this particular poster on account >> of relative youth: I hadn't realised earlier, but we are dealing >> with a fourteen-year-old. > > I don't believe that's true. One of the great advantages of d

Re: code indentation

2007-07-26 Thread Ben Finney
[EMAIL PROTECTED] writes: > here is my failed example of try with string: > > kl="n=90;if n==90:print'kajmakimar'" > > for line in kl.split(";"): > li=[] > m=li.append(line) > if line.endswith(':'): > m.append("\n\t\t\t\t\t\t\t\t") > print m The list.append method re

Re: code indentation

2007-07-26 Thread Ben Finney
Steve Holden <[EMAIL PROTECTED]> writes: > We should be making allowances for this particular poster on account > of relative youth: I hadn't realised earlier, but we are dealing > with a fourteen-year-old. I don't believe that's true. One of the great advantages of discussion over the internet i

Re: code indentation

2007-07-26 Thread Diez B. Roggisch
[EMAIL PROTECTED] schrieb: > On 26 srp, 13:43, Steve Holden <[EMAIL PROTECTED]> wrote: >> Thorsten Kampe wrote: >>> * (Wed, 25 Jul 2007 11:22:03 -0700) On 25 srp, 17:31, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: >>> And while we're on the topic of com

Re: code indentation

2007-07-26 Thread Michael L Torrie
[EMAIL PROTECTED] wrote: > > .so maybe if you can help me with this? If I understand you correctly, you're trying to make a "pretty-printer" in python, right? Something that will take arbitrary python source code, recognize the blocks and so forth, and then emit clean python code (text) with

Re: code indentation

2007-07-26 Thread vedrandekovic
On 26 srp, 13:43, Steve Holden <[EMAIL PROTECTED]> wrote: > Thorsten Kampe wrote: > > * (Wed, 25 Jul 2007 11:22:03 -0700) > >> On 25 srp, 17:31, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: > >>> [EMAIL PROTECTED] wrote: > > And while we're on the topic of communication: The original poste

Re: code indentation

2007-07-26 Thread Steve Holden
Thorsten Kampe wrote: > * (Wed, 25 Jul 2007 11:22:03 -0700) >> On 25 srp, 17:31, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: >>> [EMAIL PROTECTED] wrote: > And while we're on the topic of communication: The original poster > would do well to learn that increasing the number of consecu

Re: code indentation

2007-07-26 Thread Thorsten Kampe
* (Wed, 25 Jul 2007 11:22:03 -0700) > On 25 srp, 17:31, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > > >> And while we're on the topic of communication: The original poster > > >> would do well to learn that increasing the number of consecutive > > >> punctuation

Re: code indentation

2007-07-25 Thread Ben Finney
[EMAIL PROTECTED] writes: > On this group I ask for serious help and now we talk about > communication. Yes. You're asking for volunteer help from a group of people who have their own priorities separate from yours. The way to garner help from these people is to respect their time. One excellent

Re: code indentation

2007-07-25 Thread Diez B. Roggisch
> HELLO, > > On this group I ask for serious help and now we talk about > communication. Then I you don't know how to help me then please DON'T > SAY ANYTHING Your lack of command of the python language and programming concepts in general is only excelled by your inabillity to react properly in

Re: code indentation

2007-07-25 Thread vedrandekovic
On 25 srp, 17:31, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > >> And while we're on the topic of communication: The original poster > >> would do well to learn that increasing the number of consecutive > >> punctuation marks (!!!, ???) is a sure way to turn away ma

Re: code indentation

2007-07-25 Thread Wildemar Wildenburger
[EMAIL PROTECTED] wrote: >> And while we're on the topic of communication: The original poster >> would do well to learn that increasing the number of consecutive >> punctuation marks (!!!, ???) is a sure way to turn away many people >> who would otherwise be helpful. Sentences need at most one '!'

Re: code indentation

2007-07-25 Thread vedrandekovic
On 25 srp, 01:07, Ben Finney <[EMAIL PROTECTED]> wrote: > Steve Holden <[EMAIL PROTECTED]> writes: > > [EMAIL PROTECTED] wrote: > > > On 24 srp, 05:20, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > > >> En Mon, 23 Jul 2007 16:53:01 -0300, ...:::JA:::... > > >> <[EMAIL PROTECTED]> escribió: > > >

Re: code indentation

2007-07-24 Thread Ben Finney
Steve Holden <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: > > On 24 srp, 05:20, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > >> En Mon, 23 Jul 2007 16:53:01 -0300, ...:::JA:::... > >> <[EMAIL PROTECTED]> escribió: > >>> So..how can I do this? > >>> I will appreciate a

Re: code indentation

2007-07-24 Thread Steve Holden
[EMAIL PROTECTED] wrote: > On 24 srp, 05:20, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: >> En Mon, 23 Jul 2007 16:53:01 -0300, ...:::JA:::... >> <[EMAIL PROTECTED]> escribió: >> >> >> If you are using the tokenize module as suggested some time ago, try to analyze the token sequence yo

Re: code indentation

2007-07-24 Thread vedrandekovic
On 24 srp, 05:20, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Mon, 23 Jul 2007 16:53:01 -0300, ...:::JA:::... > <[EMAIL PROTECTED]> escribió: > > > > >> If you are using the tokenize module as suggested some time ago, try to > >> analyze the token sequence you get using { } (or perhaps begi

Re: code indentation

2007-07-23 Thread Gabriel Genellina
En Mon, 23 Jul 2007 16:53:01 -0300, ...:::JA:::... <[EMAIL PROTECTED]> escribió: >> If you are using the tokenize module as suggested some time ago, try to >> analyze the token sequence you get using { } (or perhaps begin/end pairs >> in your own language, that are easier to distinguish from a d