Re: [Tutor] Python Versions

2007-12-15 Thread Thorsten Kampe
* Tiger12506 (Fri, 14 Dec 2007 16:23:00 -0500) > > Despite what your english teacher might have tried to make you > > believe, they were wrong about the lack of a neutral in english. > > Just like ending sentences with prepositions has always been done > > and always will be done, the use of "they"

Re: [Tutor] Python Versions

2007-12-15 Thread Thorsten Kampe
* earlylight publishing (Sat, 15 Dec 2007 09:21:45 -0800 (PST)) > No prob about the gender confusion. :-) That's why people put Firstname Lastname in the From field of their newsreader or mail reader. And please do a line break after about 70 characters. Your reply was one(!) big line. Thorste

[Tutor] Python Versions

2007-12-15 Thread earlylight publishing
No prob about the gender confusion. :-) I'd be willing to bet most folks around here are male so it's not unreasonable to assume. I wasn't offended, just thought I'd share in the interest of accuracy. Thanks for the kind appology anyway. Hope I haven't set off a firestorm! Message: 1

Re: [Tutor] Python Versions

2007-12-14 Thread Tiger12506
> Despite what your english teacher might have tried to make you > believe, they were wrong about the lack of a neutral in english. Just > like ending sentences with prepositions has always been done and > always will be done, the use of "they" to refer to someone of > indeterminate gender has bee

Re: [Tutor] Python Versions

2007-12-14 Thread Tiger12506
My apologies for mistaking your gender. Because English does not have adequate neutral gender indication, I tend to use the male as such, as they do in Spanish, and perhaps many other languages. At any rate, that's how it's written in the Bible. I presumed that it was an issue with raw input be

Re: [Tutor] Python Versions

2007-12-14 Thread Alan Gauld
"Gman" <[EMAIL PROTECTED]> wrote in message # Filename: func_param.py def printMax(a, b): > >>>if a > b: > print a, 'is maximum' > else: > print b, 'is maximum' > printMax(3, 4) > SyntaxError: invalid syntax OK, I think this is because you have tried to use the

[Tutor] Python Versions

2007-12-13 Thread Gman
Well, I dont feel Igrint, yet I must be. Turns out that Early Light was right regarding the command prompt. I had to go back and try a few of the exercises again to see if i actually had overlooked something so obvious, and it turns out I had! Enclosed is a example of my ineptitude.I didnt

Re: [Tutor] Python Versions

2007-12-13 Thread Tiger12506
> Hey Tiger, > your system clock is set incorrectly and your e-mail was flagged as being > sent 12/12/2008, causing it to appear after an e-mail sent as a reply - > confusing. > Please remedy this situation ;P > -Luke Whoops!! I have to mess with my clock occasionally to test the integrity of

Re: [Tutor] Python Versions

2007-12-13 Thread Luke Paireepinart
Tiger12506 wrote: > The OP has not specified what his problems specifically are, but "earlylight > publishing" described his problem before, and he was not understanding why > the >>> prompt was expecting immediate keyboard input when he typed in > raw_input(). So a noob cannot figure out why it

Re: [Tutor] Python Versions

2007-12-12 Thread Alan Gauld
"earlylight publishing" <[EMAIL PROTECTED]> wrote > Actually the first thing I noticed is the author would say something > like "you can run the program by pressing F5 Ah! Yes that would cause problems. He obviously does intend you to use an Edit window rather than a shell in that case. A great p

Re: [Tutor] Python Versions

2007-12-12 Thread Michael Langford
There are 3 big schools of "how do you program" as far as what tools you have open where. IDE Geeks: "the author" you are reading about is one if them. This means you run eclipse, idle, visual studio, kdevelop, etc, and you debug and run out of that as well if you can. This is what most primarily

Re: [Tutor] Python Versions

2007-12-12 Thread earlylight publishing
I'm a "she" not a "he". :-) But actually I don't believe I was a member of this group when I was working with the book "A Byte Of Python" I don't believe I ever described a problem with raw_input here. That concept seems pretty clear to me but as you say the OP hasn't described a specific pr

Re: [Tutor] Python Versions

2007-12-12 Thread Luis N
On Dec 13, 2007 3:38 PM, earlylight publishing <[EMAIL PROTECTED]> wrote: > Do people really write whole applications just using the shell? > The shell isn't intended for writing whole applications. However, it's invaluable for testing. For writing whole applications I'd recommend The One True Edit

Re: [Tutor] Python Versions

2007-12-12 Thread earlylight publishing
Actually the first thing I noticed is the author would say something like "you can run the program by pressing F5 or selecting "run program" from the "run" menu. Neither of those things work from the shell. Saving programs also didn't work well for me when I put them in the shell. Do people r

Re: [Tutor] Python Versions

2007-12-12 Thread Tiger12506
The OP has not specified what his problems specifically are, but "earlylight publishing" described his problem before, and he was not understanding why the >>> prompt was expecting immediate keyboard input when he typed in raw_input(). So a noob cannot figure out why it is advantageous to have a

Re: [Tutor] Python Versions

2007-12-12 Thread Alan Gauld
"earlylight publishing" <[EMAIL PROTECTED]> wrote >I have the latest python version too when I first started "A Byte of >Python" > my code wouldn't work either. My problem was that I was programming > in the shell (the screen with the three '>>>' on it). I found when > I wrote > the examples i

Re: [Tutor] Python Versions

2007-12-12 Thread Kent Johnson
Gman wrote: > Hmm how do I put this without looking completely igrint! No worries, this is a list for beginners! > I have 2.51 and have been encountering many errors > when I try to use some examples from the book "A byte of python". At first > I thought well a few minor things I will just m

Re: [Tutor] Python Versions

2007-12-12 Thread earlylight publishing
I have the latest python version too when I first started "A Byte of Python" my code wouldn't work either. My problem was that I was programming in the shell (the screen with the three '>>>' on it). I found when I wrote the examples in a new window (cntrl+N) they all worked as advertized. He

Re: [Tutor] Python Versions

2007-12-12 Thread wesley chun
> Well I have 2.51 and have been encountering many errors > when I try to use some examples from the book "A byte of python". At first > I thought well a few minor things I will just move on and try the next. > Well some work and others dont, and mind you I am only trying to get the > basics down.A

[Tutor] Python Versions

2007-12-12 Thread Gman
Hmm how do I put this without looking completely igrint! I am new to python and peck away at it every chance i get.Well I also follow the list here and remember A big todo about versions and compatibility. Well I have 2.51 and have been encountering many errors when I try to use some examples

Re: [Tutor] Python versions and Debian?

2005-05-11 Thread Gabriel Farrell
Hi William, The short answer is go with the default until you run into something you can't do without 2.4. For the skinny on all the changes you'll want to check out http://python.org/doc/2.4/whatsnew/whatsnew24.html . That document lays it out about as well as can be done. If you find somethin

[Tutor] Python versions and Debian?

2005-05-11 Thread William O'Higgins
I am just beginning to experiment with Python, and I'm looking for advice about versions. Debian testing provides version 2.3 by default, (/usr/bin/python is linked to /usr/bin/python2.3) but I am able to install 2.4 as well. What gains do I realize by using the more modern version? Are there