[Tutor] Getting Started
Alan Gauld
alan.gauld at btinternet.com
Thu Dec 19 10:04:03 CET 2013
On 19/12/13 06:34, eryksun wrote:
>> you need to set. You can read about them by typing 'help cmd'
>> in the console itself.
>
> That's assuming the user ran cmd.exe to use its "help" command.
> Windows automatically opens a console window for python.exe if the
> process doesn't inherit one. That's what I would expect from a desktop
> shortcut.
Ah yes, good catch!
To the OP:
You can run a console on its own using the Start->Run dialog
and typing 'cmd'.
Once you do that you should get a prompt like
C:\WINDOWS>
or similar
From there you can type 'help cmd' as above.
You can also start python by typing 'python'
and execute one of your programs by typing 'python myprog.py'
The latter is how to see any hidden messages etc in the event of a
problem. If you are not familiar with cmd and its friends it's
worth getting to know them. Programmers tend to use them a lot...
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list