Name: [002] Ian Ozsvald
Member: 51 months
Authored: 181 videos
Description: I am the co-founder of ShowMeDo (see http://showmedo.com/about), author of `The Screencasting Handbook <http://thescreencastinghandbook.com>`_ and the founder of the professional screencast production company `ProCasts <http://procasts.co.uk>`_: .. image:: http://procasts.co.uk/media/procasts_sma ...

[294] Adding Python to DOS Path (1/1)

in series: Adding Python to DOS Path

video tutorial by Ian Ozsvald

(Showmedo is undergoing major changes. To report any problems viewing the videos please email us and include browser and OS specifics. Cheers - Kyran.)

Python is not added to the DOS path by default. If you run 'python' from the command line you'll receive this error message:

'python' is not recognized as an internal or external command,
operable program or batch file.

Here I show you how to add ';c:\python25;c:\python25\scripts' to the System Path allowing Python to be executed from the command line for all users.

Video Tutorials related by tag:

user systems system python programs program paths path messages files file commands c beginner_programming

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

  • Video's rank shown in the most popular listing
  • Video plays: 6734 (since July 30th)
  • Plays in last week: 50
  • Published: 32 months ago

Thank-yous, questions and comments

If this video tutorial was helpful please take some time to say thank-you to the authors for their hard work. Feel free to ask questions. Let the author know why their video tutorial was useful - what are you learning about? Did the video tutorial save you time? Would you like to see more?

You may also want to see our ShowMeDo Google Group to speak to our active users and authors.

Please provide your email address (won't be published)

Thanks!! New to python on Windows


91. student of python Sun, 31 Jan 2010 08:00

Very nice - thank you - very clear, and your voice is so very nice to listen to. :)


90. Bob Pauls Fri, 29 Jan 2010 07:59

Very good tutorial. Thanks for taking the time to create.


89. none given Wed, 27 Jan 2010 00:28

excellent video.

voice quality, easy to listen to. problem set up well placed (user can determine if s/he is experiencing issue, ie is this relevant).

not really a python video but nice gentle video like this are great for people becoming acquainted with python from the windows side

hovwvr not keen on speel check in comment section like to mispell its me being human


88. Stewart Johnston Fri, 22 Jan 2010 05:50

Nice clear video - not quite what I was looking for but very useful nonetheless.


87. Hugh Shanahan Fri, 15 Jan 2010 08:41

Thank you - this is a lovely clear explanation of how to do this.


86. anonymous Tue, 05 Jan 2010 20:43

Need to watch the rest but good


85. anonymous Mon, 04 Jan 2010 22:23

thanks this i need


84. anonymous Mon, 04 Jan 2010 22:23

thanks this i need


83. anonymous Mon, 04 Jan 2010 22:22

thanks this i need


82. anonymous Sat, 02 Jan 2010 18:09

Your video was very informative and has inspired me to create one for Windows 7 users as it is just slightly different (i.e. the control panel setup is different up to the point of clicking on Advance System Settings).


81. anonymous Tue, 29 Dec 2009 03:43

Thank you so much for these videos. I am completely new, and this is my second day with this stuff. I briefly brushed up against C++ 6 years ago and due to a bad teacher, and difficulty with the material, it scared me away from programming. I am now pursuing this purely as a hobby.


Thanks alot for sharing your knowledge. And congrats for the great website.

The information might be useful, eventhough I'm acostumed to use the GUI of my instalation (2.6.4).


79. anonymous Thu, 17 Dec 2009 11:35

Thank you very much for this video, it was really easy to follow and helpful.


78. anonymous Wed, 16 Dec 2009 03:52

Just started learning today. Thank you!


77. anonymous Mon, 30 Nov 2009 22:48

Thank you for making this video.

I was getting frustrated with the "not recognized" error from cmd, but your video fixed it.

Now I will check out the other videos here on showmedo.

Thanks again!


Hi,

I'm using 2.6, it works fine from the command line, but if I double click on a .py file it opens my wing ide instead of running the file in the command window. Previously, I used 2.5 with wing without a problem. Thanks for your help!

Steve


75. anonymous Fri, 06 Nov 2009 12:18

Very nice English accent and good tutorial. Thanks.


74. anonymous Sat, 31 Oct 2009 19:04

thnks


73. anonymous Fri, 30 Oct 2009 03:28

Very good and easy to follow video! Thankyou!!!


72. anonymous Tue, 20 Oct 2009 19:24

Nice concise instructional video, suitable for pointing people to. Many thanks!


71. anonymous Sun, 18 Oct 2009 02:28

this was really helpful, on my laptop however, there is some problem - access is denied because it says that python.exe isn't able to run on win32. why is that?

on my other computer this worked out and i thought your video was absolutely great!


70. anonymous Fri, 09 Oct 2009 09:03

quick, short, and to the point, good!


69. anonymous Mon, 21 Sep 2009 18:22

Excellent how to video. Really helped!!! Many thanks!!!!


68. anonymous Tue, 15 Sep 2009 02:30

good show me


Worked like a charm!

Thanks,

Steve


Thanks Ian, I have installed Python26. I don't have a Python26\scripts file. I do have a Python26\tools\scripts. I will have to see if they are the same.


65. anonymous Tue, 01 Sep 2009 00:15

Thanks a ton. Something as simple as this helped me a lot. I could not figure out for the life of me what most of my Google results were trying to explain.


64. anonymous Tue, 18 Aug 2009 10:33

Thanks for help. Make more videos :)


very educational, thank you very much.


62. anonymous Thu, 13 Aug 2009 08:55

Good stuff! Keep posting!


61. anonymous Wed, 29 Jul 2009 19:40

Nice job, Ian... Thanks.


60. anonymous Wed, 29 Jul 2009 14:43

Another great tutorial. This helped me get python to get call properly from the dos command prompt. This tutorial made it very easy to understand how to set up the path properly.

Thanks again!

Mark


59. anonymous Tue, 28 Jul 2009 13:16

Thank You Very Much. I do appreciate this video.


58. anonymous Sun, 26 Jul 2009 00:30

well done


57. anonymous Sat, 18 Jul 2009 01:04

Its good n learned how to set PATH.


I have learned how to a paths for windows. thanks


I have learned how to a paths for windows. thanks


54. anonymous Sun, 12 Jul 2009 14:03

Great! I followed some tutorial in which one of the steps was "Download and install python, then add it to the system-path"

I tried adding it to the system path, even re-booted the computer a couple times, couldn't figure it out until i found this tutorial.

Thanks a lot =)


53. anonymous Sat, 11 Jul 2009 16:20

Good, thanks!


52. anonymous Wed, 08 Jul 2009 11:04

Finished the job quick and easily! Thanks :)


51. anonymous Sun, 05 Jul 2009 15:08

Thanks for my very first look at a Python ShowMeDo video. I am totally new to Python and am learning it for a possible new job where Python is used as a tool to help support web based applications.


50. anonymous Tue, 23 Jun 2009 14:59

I am glad that I ran into your videos. this helped me, but I was on Vista and I ahve to navegate a little bit different

great job!

Regards


49. anonymous Fri, 19 Jun 2009 13:28

Thanks, really helpful for someone who is used to working through IDEs


48. anonymous Wed, 17 Jun 2009 10:24

Thank you


47. anonymous Wed, 17 Jun 2009 02:46

Its just great. Continue doing it. Thanks you very much.


46. anonymous Thu, 11 Jun 2009 19:12

just have to say thank with out this video i would have just been sittin here puzzle for a few hours many thanks


45. anonymous Mon, 08 Jun 2009 17:47

Very clear and brief.

Thank you.


44. anonymous Sat, 06 Jun 2009 18:36

It's nice to have a visual guide.


43. anonymous Thu, 04 Jun 2009 17:32

Fantastic mate! You've really helped me there!


42. anonymous Fri, 22 May 2009 11:29

Thank-you. Very useful. Would like to know why you referenced scripts though, and whether there are any other Python subdirectories you recommend.


41. anonymous Fri, 22 May 2009 07:18

Really cool to get answers to your questions in such a calm and composed manner.

Thanks a lot guys.


40. anonymous Fri, 22 May 2009 01:09

thanks


39. anonymous Wed, 20 May 2009 18:49

cool solutions !

thanks


38. anonymous Fri, 15 May 2009 15:15

Thanks, showmedo is a great service.


37. anonymous Fri, 08 May 2009 13:34

The video is really helpful!

Thanks!


36. anonymous Mon, 27 Apr 2009 18:58

great vid, was very helpful especially for a beginner to windows command line and python


Great video but could you expand it a little? For example, once as the dos python prompt how do I navigate around? See where I am? Change the directory? Clear the screen?

Many thanks!


Great video but could you expand it a little? For example, once as the dos python prompt how do I navigate around? See where I am? Change the directory? Clear the screen?

Many thanks!


great quick video, with some very helpful tips.


32. anonymous Wed, 22 Apr 2009 01:41

Very Very useful set-up. Thank you for this!


31. anonymous Fri, 17 Apr 2009 20:00

I like python, great tutorial of how to integrate with DOS


30. anonymous Wed, 15 Apr 2009 20:39

this was very useful; much appreciated!


27. anonymous Mon, 30 Mar 2009 02:52

Thanks for the vid, this solved a frustrating night of hair-pulling for me


26. anonymous Thu, 05 Mar 2009 18:48

Thank you, man!


25. anonymous Wed, 28 Jan 2009 13:44

thank you, this was a pickle for quite sometime.


This video was more helpful than the book I have brought. Thank you very much :)


23. anonymous Fri, 21 Nov 2008 16:06

I just googled "dos python add to path", you came up as the first link, and 2.5 minutes later I have python working from the command line. Thank you!


22. anonymous Fri, 03 Oct 2008 21:36

Great job! this helped me out alot.


21. anonymous Thu, 18 Sep 2008 15:01

very useful, thanks!


(I'm not a programmer but a friend gave me a script and I needed to install some libraries, he sent me this link. If I can figure it out probably most anyone could. seriously I cannot say thank you enough : )


just installed easy_install (so thank you for that video also) and it still didn't work. This was what still needed to happen. Thank you.


18. anonymous Sat, 09 Aug 2008 14:47

thanks much..very helpful


17. anonymous Sat, 26 Jul 2008 17:55

Nice, this helped me since I am back to Windows after sometime.


16. anonymous Thu, 24 Jul 2008 14:27

Thsnk youuu very much :) This is soo usefull


15. anonymous Tue, 24 Jun 2008 16:23

Thanks. I was wondering why python wasn't working at the command prompt and this explained why. Very helpful.


14. anonymous Sun, 22 Jun 2008 01:48

Spot on!!


13. anonymous Sun, 04 May 2008 10:48

Thanks!


12. anonymous Thu, 24 Apr 2008 14:58

Thank you.


11. anonymous Tue, 01 Apr 2008 19:08

Thank you for creating this useful video. Your accent lends added credibility and authority to the content. :) You may want to mention that it might be necessary to restart the computer before this works.


10. anonymous Sat, 16 Feb 2008 04:39

Hey, good video very simply stated...


8. anonymous Sat, 02 Feb 2008 01:53

Thank you, very useful. Needed it to run py2exe. Greatly appreciate the walk throughs made available since I'm new to it.


7. anonymous Thu, 10 Jan 2008 13:21

Thanks, this was a lot of help :)


Thanks - I'd forgotten how to do this.


5. anonymous Fri, 30 Nov 2007 15:03

Nice tutorial! I know this will help a lot of people.


4. anonymous Fri, 16 Nov 2007 20:55

Thank you so much I've been stumped on how to get python running for awhile and I almost quit But then this came Along!!!


3. anonymous Sun, 02 Sep 2007 13:27

VERY VERY USEFUL! thanks a lot...


Very useful video, Ian! I also use a similar technique for the many little utilties that I may need occasionally, but not often enough to justify loading down the path variable. I put a directory called "util" in the path, and put my utilities there, including batch files. It is very useful for windows equivalents to unix utilities such as "cut", etc. Also, the MSDOS "Open Command Window Here" makes life much easier. You download it from Microsoft, and when you right-click on a directory in Windows Explorer, you get a command window in that directory. I can then launch ipython with "ip" (a batch file in util) and right-click on a text file in WE to start gvim. I <Alt><Tab> between the ipython shell and the editor to write code. Since I have code scattered in many directories, I find that this is a fast way to move among them, without a lot of tedious navigation. It's a great way to test out an idea without firing up a big IDE such as Eclipse.

Jerol


thanks, worked


Kudos and Thanks for Ian

Learn Python the easy way!
If you want to learn the Python programming language from a very gentle start or are looking to increase your ability to do cool things with Python, check out our club
View this series as a one-page learning-path
This feature is for club members. Click here to find out more.
Your email address will not be published.

Show some quick comments >>








Club Series by the Author

Ian Ozsvald Create a simple database using OpenOffice's Base, based on a physiotherapy patient databa [...]
Ian Ozsvald Create your first Impress presentation using OpenOffice's PowerPoint-like presentation sy [...]
Ian Ozsvald This transition series will help you move from Microsoft Excel to OpenOffice Calc in a fe [...]
Ian Ozsvald If you're moving from Microsoft Word to OpenOffice.org then you'll want to know how to wo [...]
Ian Ozsvald Learning basic file input/output opens up the world of reading data in, manipulating it a [...]
Ian Ozsvald This short series introduces logic in Python by showing you the 'if' statement. Logical [...]
Ian Ozsvald This series teaches you how to define your own functions in Python. We cover how to writ [...]
Ian Ozsvald Iterating over a block of code is a very common operation when programming. Here I show [...]
Ian Ozsvald Python has many datatypes, you'll recognise some from other languages and some may be new [...]
Ian Ozsvald If you're coming to Python from a different language then you'll want to know how the syn [...]
Ian Ozsvald Learn to talk to COM-enabled applications on Windows using the open-source pyWin32 (by Ma [...]
Ian Ozsvald Learn how to use twill (a Python+shell web browser) and nosetests to unit-test your websi [...]
Ian Ozsvald Want to learn wxPython? Want a fully-worked example which leads you through to a working [...]
Ian Ozsvald Aimed at Python Beginner Programmers, this fully-worked series builds a complete applica [...]
Ian Ozsvald See PyDev and IDLE in action, program and debug code and then learn bullet-proof coding by [...]

Learning Paths

This series lies on the following learning-paths. Learning-paths are a new initiative at Showmedo, to start structuring our content better. You can find out more here.

Ian Ozsvald and Horst Jens and Lucas Holland and gasto and John Montgomery and Kyran Dale and Jeff Rush You will have a working Python setup on Windows (notes for Linux and Mac included)

By the Same Author

Ian Ozsvald IE8 and Firefox 3 are demonstrated, you can see them both in action along with recent fea [...]
Ian Ozsvald Aimed at Python Beginner Programmers, this fully-worked series builds a complete applica [...]
Joakim Gândara and Ian Ozsvald ScummVM can take you back to the 80s and 90s, letting you play the older LucasArts point n [...]
Ian Ozsvald Iterating over a block of code is a very common operation when programming. Here I show [...]
Ian Ozsvald and Stephan Deibel This two-part series will show you Wingware's new Wing 3 IDE. Topics: starting a new Pyt [...]
Ian Ozsvald Four videos leading you through the installation and basic mastery of the powerful IPython [...]
Ian Ozsvald Install nosetests using a 1 line easy_install command. Nosetests gives us robust unit-te [...]
Ian Ozsvald Want to learn wxPython? Want a fully-worked example which leads you through to a working [...]
Ian Ozsvald [This series is out of date - see the replacement CamStudio series]. Screencasting is eas [...]
Ian Ozsvald This guide covers installing Python, a language overview, writing a first program, learni [...]
Ian Ozsvald The Django web-app framework, written in Python, released at the start of September 2008. [...]
Ian Ozsvald This short series introduces logic in Python by showing you the 'if' statement. Logical [...]
Ian Ozsvald TechSmith asked me to create a video on using Audacity to edit narrations. Since the use [...]
Ian Ozsvald Python has many datatypes, you'll recognise some from other languages and some may be new [...]
Ian Ozsvald See PyDev and IDLE in action, program and debug code and then learn bullet-proof coding by [...]
Ian Ozsvald A short introduction to the on-line world of resources for Python programmers, targetted a [...]
Ian Ozsvald These short demos show the low-cost Arduino hardware experimentation board in action on W [...]
Marius Meinert and Ian Ozsvald and Lucas Holland and Dai and gasto See great applications in action. We're gathering examples of really nice applications - [...]
Ian Ozsvald If you're coming to Python from a different language then you'll want to know how the syn [...]
Ian Ozsvald We use the excellent (and free!) CamStudio 2.0 to make many of our ShowMeDo tutorials on W [...]
Ian Ozsvald Create a simple database using OpenOffice's Base, based on a physiotherapy patient databa [...]
Ian Ozsvald [This series is out of date, you should really go to the new Python 2.5 series - Python Ne [...]
Ian Ozsvald Here we install easy_install using ez_setup.py (linked on the easy_install page). easy_in [...]
Ian Ozsvald Two videos to demonstrate editing and debugging of Python code using the excellent SPE too [...]
Ian Ozsvald This screencasts welcomes Ryan Galbraith's students in his SIAST GIS 2008 course. I show [...]
Ian Ozsvald Learning basic file input/output opens up the world of reading data in, manipulating it a [...]
Ian Ozsvald If you're moving from Microsoft Word to OpenOffice.org then you'll want to know how to wo [...]
Ian Ozsvald This series teaches you how to define your own functions in Python. We cover how to writ [...]
Ian Ozsvald There is quite an art to making a perfect cup of coffee. Here we gather some of the lore.
Ian Ozsvald This transition series will help you move from Microsoft Excel to OpenOffice Calc in a fe [...]
Ian Ozsvald Learn to talk to COM-enabled applications on Windows using the open-source pyWin32 (by Ma [...]
Ian Ozsvald and Kevin Dangoor Originally the TurboGears Ultimate DVD (produced in late 2006 by Kevin Dangoor), now show [...]
Ian Ozsvald Learn how to use twill (a Python+shell web browser) and nosetests to unit-test your websi [...]
Ian Ozsvald Create your first Impress presentation using OpenOffice's PowerPoint-like presentation sy [...]
Ian Ozsvald See how to install twill - a Python (and shell) web-browsing tool - in 1 line with easy_i [...]
Ian Ozsvald AdblockPlus.org hosts the popular adblocking plugin for Firefox. This video shows you ho [...]