Response codes and \r\n

2009-03-05 Thread Catherine Heathcote
Heya, I am reading an XML file (code at the end if it helps) and all goes well except I am getting the http response code printed. So everything (hat works of course) has 200 OK on the first line. Am I missing some simple way of surprising this, or should I just delete the 1st line before

Question about inheritence

2008-07-22 Thread Catherine Heathcote
If I create a new class inherited from another with a constructor, what happens with the new class's constructer? Thanks for your time. -- http://mail.python.org/mailman/listinfo/python-list

Re: Question about inheritence

2008-07-22 Thread Catherine Heathcote
On Tue, 22 Jul 2008 09:35:58 -0700, Matimus wrote: On Jul 22, 9:26 am, Catherine Heathcote [EMAIL PROTECTED] wrote: If I create a new class inherited from another with a constructor, what happens with the new class's constructer? Thanks for your time. Nothing, unless you call it in your

Re: what IDE is the best to write python?

2009-02-03 Thread Catherine Heathcote
Tim Rowe wrote: 2009/2/3 Jervis Whitley jervi...@gmail.com: real programmers use ed. Ed? Eee, tha' were lucky. We had to make holes in Hollerith cards wi' our bare teeth... You had teeth!?! Oh and hi, I shall be a new face in the crowd ;) --

Couple of noobish question

2009-02-04 Thread Catherine Heathcote
Firstly hi, I don't know any of you yet but am picking up Python and will be lurking here a lot lol. I am a hobbiest coder (did 3 out of 4 years of a comp tech degree, long story) and am learning Python, 'cos I saw some code and it just looks a really nice language to work with. I come from

Re: Couple of noobish question

2009-02-04 Thread Catherine Heathcote
Mike Driscoll wrote: On Feb 4, 10:47 am, Catherine Heathcote catherine.heathc...@gmail.com wrote: Firstly hi, I don't know any of you yet but am picking up Python and will be lurking here a lot lol. I am a hobbiest coder (did 3 out of 4 years of a comp tech degree, long story) and am learning

Embarrasing questio

2009-02-12 Thread Catherine Heathcote
But I just cant find it. How do I do an or, as in c/c++'s ||? Just trying to do something simple, the python equivilent of: if(i % 3 == 0 || i % 5 == 0) Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: Embarrasing questio

2009-02-12 Thread Catherine Heathcote
TechieInsights wrote: On Feb 12, 9:03 am, Catherine Heathcote catherine.heathc...@gmail.com wrote: But I just cant find it. How do I do an or, as in c/c++'s ||? Just trying to do something simple, the python equivilent of: if(i % 3 == 0 || i % 5 == 0) Thanks. if i % 3 == 0 or i % 5 == 0

Re: Embarrasing questio

2009-02-12 Thread Catherine Heathcote
Aahz wrote: In article zkxkl.34048$sp5.7...@text.news.virginmedia.com, Catherine Heathcote catherine.heathc...@gmail.com wrote: But I just cant find it. How do I do an or, as in c/c++'s ||? Just trying to do something simple, the python equivilent of: if(i % 3 == 0 || i % 5 == 0) if i % 3

Re: Keeping the Console Open with IDLE

2009-02-20 Thread Catherine Heathcote
W. eWatson wrote: I'm not sure whether I should feel old or write a smart alec comment -- I suppose there are people in the world who don't know what to do with a command prompt Assuming a Windows system: 2. Type 'cd ' (as in Change Directory) in the command prompt window (w/o the

Re: Keeping the Console Open with IDLE

2009-02-20 Thread Catherine Heathcote
W. eWatson wrote: Catherine Heathcote wrote: W. eWatson wrote: I'm not sure whether I should feel old or write a smart alec comment -- I suppose there are people in the world who don't know what to do with a command prompt Assuming a Windows system: 2. Type 'cd ' (as in Change

Re: Keeping the Console Open with IDLE

2009-02-20 Thread Catherine Heathcote
W. eWatson wrote: Catherine Heathcote wrote: W. eWatson wrote: Catherine Heathcote wrote: W. eWatson wrote: I'm not sure whether I should feel old or write a smart alec comment -- I suppose there are people in the world who don't know what to do with a command prompt Assuming