Good morning and welcome to the list,
: Just planning it out in my head so far, like pseudocode. I hope
: to get started soon. I'm just looking to have a little dialog box
: come up, display a random quote of the day, and then hit enter
: and it's gone. Should be a nice, simple way to get
On Tue, Aug 30, 2011 at 5:23 AM, Martin A. Brown wrote:
>
> Good morning and welcome to the list,
>
> : Just planning it out in my head so far, like pseudocode. I hope
> : to get started soon. I'm just looking to have a little dialog box
> : come up, display a random quote of the day, and then
hello everyone.
i need to parse a an xml-like file. the problem that i'm facing is that this
file doesn't have the root element but in all other terms it is the same as
xml, i.e
does anybody know if there is a module in python that allows to process an
xml file without a root element? i t
On Tue, Aug 30, 2011 at 1:27 PM, rail shafigulin
wrote:
> hello everyone.
>
> i need to parse a an xml-like file. the problem that i'm facing is that
> this file doesn't have the root element but in all other terms it is the
> same as xml, i.e
>
>
>
>
>
>
>
>
>
> does anybody know if there is
rail shafigulin wrote:
> hello everyone.
>
> i need to parse a an xml-like file. the problem that i'm facing is that
> this file doesn't have the root element but in all other terms it is the
> same as xml, i.e
>
>
>
>
>
>
>
>
>
> does anybody know if there is a module in python that all
Can you encapsulate the contents of the file in a root element before
processing?
- Original Message -
From: rail shafigulin
To: tutor@python.org
Sent: Tuesday, August 30, 2011 10:27 AM
Subject: [Tutor] xml parsing without a root element
hello everyone.
i need to pa
Original Message
Subject:Re: [Tutor] largest palindrome number
Date: Tue, 30 Aug 2011 23:24:09 +0530
From: surya k
To: bob gailer
Mr Gailer,
That's an amazing way of writing palindrome function. Actually, I'm
still using my old C logic's here.
Thanks for
On Tue, Aug 30, 2011 at 2:20 PM, Peter Otten <__pete...@web.de> wrote:
> rail shafigulin wrote:
>
> > hello everyone.
> >
> > i need to parse a an xml-like file. the problem that i'm facing is that
> > this file doesn't have the root element but in all other terms it is the
> > same as xml, i.e
>
I played around with this puzzle a bit. I made a palindrome function a bit
like Bob's, only i iterated through the string (stopping at the first mismatch)
instead of doing the whole thing at once.
The rest of the code is even more amenable to speedups. The first thing I saw
was the outer "i"
Thanks, that also works really well.
One of the hardest things I am finding with programming is that there is
always more than one way to do something. This is a good and bad thing. Bad
for beginners!!
thanks
On Tue, Aug 30, 2011 at 4:45 PM, Peter Otten <__pete...@web.de> wrote:
> questions anon
On 29 August 2011 11:50, Elisha Rosensweig wrote:
> Hi All,
>
> I'm trying to use easy_install on my Mac to get the Python networx package.
> On my machine I have installed version 2.5 AND 2.6 of Python. However, wehn
> I try to install this package, I get:
>
> Best match: networkx 1.5
> Download
11 matches
Mail list logo