Forwarding to mailing list, please use Reply All in the future. On 21 February 2016 at 09:48, Erol Gericke <woodw...@cybersmart.co.za> wrote: > Hi Chris, > > Thanks for your prompt reply, the problem has been solved! > I was using the 'python' terminal not the 'DOS' terminal. > > I have created a new directory to hold the *.py scripts. > > As I type with only two fingers I want to keep everything as short as > possible. > Is there a way to avoid the full path when running a script. > > Thanks again, you have revived my interest in Python. > > Regards, > Erol Gericke > > >> Please paste the full error message, and your complete source code. >> Also, make sure you are running the commands in the regular command >> prompt window, and not in a Python-specific one. >> >> Also, your scripts should not live in C:\Python27, because they might >> conflict with other things. >> >
You can open command prompt in the directory of your scripts [0] or put them in a directory that doesn’t require a lot of typing (C:\py for example). PS. it’s not the “DOS” terminal, it’s the command prompt (cmd.exe). DOS is not part of Windows NT/2000/XP and better, and rightfully so. [0]: In Windows 8?/10, available from the File menu. Otherwise: http://www.askvg.com/enable-open-command-window-here-option-in-context-menu-in-windows-vista/ -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor