problem at installing phyton on windows
slm_guzel at hotmail.com
Mon Mar 26 21:21:54 CEST 2007
On 26 Mart, 00:50, "Stephen Eilert" <spedr... at gmail.com> wrote:
> On Mar 25, 6:23 pm, "gslm" <slm_gu... at hotmail.com> wrote:
> > Please, can you read again?
> > Yes, I understand that in phyton interpreter, i can't call phyton
> > command.Thanks...
> > But how can i run '.py' files from this command line?I wanted to use
> > the phyton command for this.
> > When i click a py extended file, for example calendar.py in lib
> > directory, file opens, then suddenly close,except graphical ones.Why?
> > How can i see the results?
> > And where can i learn which library must i import for whic class?
> > Sorry, i ask much:(But after learning these starting knowledeges, i
> > read tutorials, manuals etc.
> > But now i haven't found my answers yet.
> > Regards...
> For god's sake. It's PYTHON, not PHYTON.
> Use IDLE and run your files from there. That way you won't have to
> mess with the hideous windows console.
> However, if you really want to use the windows console, keep in mind
> that it will always close automatically when the program ends. That is
> true for Python, C, whatever, unless it was open before. So, Start->run, type "cmd" then run python filename.py. If that does not work,
> it's because the path is not set correctly.
> And that's probably because you keep mispelling Python. See below:
> " But I'm sorry.I haven't understood what i must do for ruunnig phyton
> command.I delete path from proportiesof my computer.Then i open
> command line of phyton.But when i write phyton these view below:
> Traceback<most recent call last>:
> File "<stdin>"; line 1 in <module>
> NameError: name phyton is not defined "
> Obviously, "Phyton" will never be defined.
> Stephen- Alıntıyı gizle -
> - Alıntıyı göster -
Thanks to all of you!Sorry, I must be more careful!
You're right, my problem is of course this:writing the word python
Now it's ok!Thanks again and again!
More information about the Python-list