[Tutor] Python Versions
Tiger12506
keridee at jayco.net
Fri Dec 14 13:43:42 CET 2007
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 because not many other things
are truly different within the prompt. An extra line is necessary within the
prompt after blocks of code such as classes and function declarations. (I
guess this didn't bother me when I first started learning python because I
got irritated when I hit enter and it didn't do anything, so I hit enter
again, much more violently. ;-)
My apologies also to you for assuming what was the issue. I have a knack for
knowing just what goes wrong, but there are many occasions where I am wrong.
:-)
> 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
> problem. As I said before, it was the fact that the author was describing
> features that I was not seeing in the shell that prompted me to try to
> figure out the "new window" feature. As soon as I solved the shell
> problem I had no further difficulties understanding the concepts in the
> book. I just thought I'd share what worked for me. :-)
>
> 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
> raw_input function that immediately asks for input. He thinks, "why
> can't I
> put the input in directly?" That is why putting a program into an edit
> window is very advantageous.
>
> I believe it is very likely that raw_input() is the culprit of
> confusion
> here.
>
>
>
> ---------------------------------
> Never miss a thing. Make Yahoo your homepage.
More information about the Tutor
mailing list