Re: [Tutor] plain text to HTML parser

2010-03-17 Thread Eduardo Vieira
On Wed, Mar 17, 2010 at 1:11 PM, Azhagu Selvan wrote: > Hi, > > I want to get a formatted plaintext and convert into HTML like what > markdown does. I tried python-mardown. Is there any similar python > libraries to do that parsing?? > > -- Azhagu Selvan > _

[Tutor] plain text to HTML parser

2010-03-17 Thread Azhagu Selvan
Hi, I want to get a formatted plaintext and convert into HTML like what markdown does. I tried python-mardown. Is there any similar python libraries to do that parsing?? -- Azhagu Selvan ___ Tutor maillist - Tutor@python.org To unsubscribe or change

Re: [Tutor] Problem with little program

2010-03-17 Thread C M Caine
> Whilst I agree with the general principle to use raw_input, I don't > see how we can say that it is the problem here. Indeed so far as > I can tell we don't even know what the problem here is other than > that the OP is trying to call the function he has defined in > another file. > > > -- > Alan

Re: [Tutor] Problems with iterations and breaking loops

2010-03-17 Thread Karjer Jdfjdf
Thank you all for the input. I've not been clear in my original question. For each value in the range (in example 10) I have to perform calculations with the values in the tuple (in example 3). This makes 30 calculations in total. In reality I have to do this for a much larger dataset (eg 1000

[Tutor] plain text to HTML parser

2010-03-17 Thread Azhagu selvan
Hi, I want to get a formatted plain text and convert into HTML like what markdown does. I tried python-markdown. Is there any similar python libraries to do that parsing?? -- Azhagu Selvan ___ Tutor maillist - Tutor@python.org To unsubscribe or change

Re: [Tutor] Problems with iterations and breaking loops.

2010-03-17 Thread Alan Gauld
"Karjer Jdfjdf" wrote I have a list of tuples with 2 values. I want to perform calculations on all of these for each value in a range of values (e.g. 100 to 110). So, if I understand you correctly, you want to write a function perform_calculations(value, list_of_tuples, ): for v1,v2 in

Re: [Tutor] Problems with iterations and breaking loops.

2010-03-17 Thread Lie Ryan
On 03/18/2010 02:02 AM, Karjer Jdfjdf wrote: > I'm having problems with iterations and loops.. So I'm curious about the > best Python-way to do iterations of lists (in if, while etc statements) > and breaking of loops. "Best" is a relative term to the current context of the problem. What is best f

Re: [Tutor] Problems with iterations and breaking loops.

2010-03-17 Thread Emile van Sebille
On 3/17/2010 8:02 AM Karjer Jdfjdf said... I'm having problems with iterations and loops. So I'm curious about the best Python-way to do iterations of lists (in if, while etc statements) and breaking of loops. I have a list of tuples with 2 values. I want to perform calculations on all of the

[Tutor] Problems with iterations and breaking loops.

2010-03-17 Thread Karjer Jdfjdf
I'm having problems with iterations and loops. So I'm curious about the best Python-way to do iterations of lists (in if, while etc statements) and breaking of loops. I have a list of tuples with 2 values. I want to perform calculations on all of these for each value in a range of values (e.g.

Re: [Tutor] browing windows registry

2010-03-17 Thread Tim Golden
On 17/03/2010 02:35, Jeff Peery wrote: hello, I want to browse the windows registry for the program ids listed under the categories: 63D5F430-CFE4-11d1-B2C8-0060083BA1FB 63D5F432-CFE4-11d1-B2C8-0060083BA1FB where might be the best way to learn how to do that with python? Hopefully this might

Re: [Tutor] browing windows registry

2010-03-17 Thread Alan Gauld
"Jeff Peery" wrote I want to browse the windows registry for the program ids listed under the categories: 63D5F430-CFE4-11d1-B2C8-0060083BA1FB 63D5F432-CFE4-11d1-B2C8-0060083BA1FB where might be the best way to learn how to do that with python? I'd probably start with the registry module..

[Tutor] browing windows registry

2010-03-17 Thread Jeff Peery
hello, I want to browse the windows registry for the program ids listed under the categories: 63D5F430-CFE4-11d1-B2C8-0060083BA1FB 63D5F432-CFE4-11d1-B2C8-0060083BA1FB where might be the best way to learn how to do that with python? thanks, Jeff _