Name: [002] Ian Ozsvald
Member: 101 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 ...

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

in series: Adding Python to DOS Path

video tutorial by Ian Ozsvald, added 06/07

(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.

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

  • Video's rank shown in the most popular listing
  • Video plays: 39113 (since July 30th)
  • Plays in last week: 225
  • Published: 83 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.

Your email address will not be published.

Show some quick comments >>








All comments excluding tick-boxed quick-comments

142. Python Beginner Sat, 16 Oct 2010 19:10

Thanks man


This probably does wrok for for the 2.5 v. of Python, however i need to learn how to complete the same task while running Python v. 3.1.2.


Great video! Thank you!


139. bradley Thu, 30 Sep 2010 00:15

i like your informative videos i look forward to viewing your videos


138. Antonio Rodriguez Fri, 10 Sep 2010 05:12

Your video is great!! Thanks


137. Hristo Hristov Fri, 10 Sep 2010 04:08

Thanks

This is very usefull leson for me


It's amazing how an easy-to-understand answer to a frustrating problem can be just the encouragement needed to turn my attitude around and continue teaching myself programming. Thank you ShowMeDo!


Thanks, very helpful.


Video was helpful and simplified. Quite helpful.


132. john waugh Tue, 17 Aug 2010 03:18

many thanks.

my hovercraft is full of eels


On a standard Python 3.1 Windows installation, where the Python 3.1 is stored under C:\, the Scripts directory is now found under C:\Python31\Tools\Scripts.

Thanks,

Steve


thanks


Nice thanks alot


New to both python and xp so this has been a big help. Cheers!


Pretty useful! Thanks!


Wow, the video was GREAT! Very informative. Much better than reading some yucky manual :)


124. troabarton Mon, 02 Aug 2010 10:59

Thanks for the tutorial! trying to learn how to use python 2.7 on windows 7 and it was driving me crazy with that error message. thanks!


Thanks for the video. I wish I seen this video sooner, so I didn't had to waste hours scrambling for an answer of why my programming code didn't work. Looking forward to see other good videos


Video worked just fine. Excellent walkthrough for windows xp. Thanks :D


Awesome video! Thanks it helped a lot!


Thanks for the quick tutorial =]


Thanks!


thank you :)


Thank you!


Thank you.


115. Ana Buencamino Tue, 13 Jul 2010 18:27

Thanks a lot! I'd never had figured that out on my own.


114. Anonymous Sun, 13 Jun 2010 14:39

Thanks! Very helpful.


113. Anonymous Sun, 13 Jun 2010 14:38

Thanks! Very helpful.


Thank you putting this wonderful video!


111. Sangeeta Thu, 10 Jun 2010 12:57

It was easy thank you


110. Shaukat Nasim Wed, 09 Jun 2010 08:47

It is goodI have been doing it by going to the command prompt and typing:

set path = %path%;C:\python26

At the end of the session, I do: cntrl+Z to get out.

But the procedure you have shown is permanent.

Thanks.


109. Stephen Salbod Mon, 07 Jun 2010 07:56

Good job.


108. giantche Tue, 01 Jun 2010 08:31

Thanks your share


That was clear, thanks!


Thanks for the wonderful set of videos. I know absolutely nothing about Python and these set of videos are turning out to be very useful to get started with.

I have one question - I have installed Python 2.6.5 from Python.org and while following your instructions on adding Python to DOS prompt, I noticed that the 'Scripts' folder is not a part of installable in Python 2.6.5 folder. How do we then add 'Scripts' path to environment variable?


105. Bruce Wilson Wed, 05 May 2010 18:51

Thanks for the vid


Short, direct, and practical. Thanks!


One more thing I'd like to add. These tutorials work beautifully with the Python documentation and tutorials. You've filled in a lot of the cracks. I'm a hands-on learner and much prefer to dive in rather than read a lot of documentation. The tutorials are fantastic, but it helps to punctuate the reading/coding of a tutorial with a video example.

Again, thanks. I hope to return the favor one day!


Thanks a bunch! This was really helpful. I'm new to Python and will be looking at more of the community's videos. Someday I may contribute my own.


101. noetic97 Sat, 10 Apr 2010 17:09

Very helpful. Thank you for the clarity.


Thanks!


Thank you.


98. Phaliure Sun, 28 Mar 2010 16:59

Thanks. Really helpful. Video was to the point and still helps with Win7


Thanks. :-> That was very helpful.


Thanks, that was exactly what I needed and I was able to set it up myself without any trouble after watching the video.


nice video about my problem


94. Jill Kopicko Fri, 05 Mar 2010 01:03

Thank you. I appreciate the video's. I am quite the novice at the pc. I still do not understand Python, so I will be back to go over your video's again.

Thank you, again,

Jill


excellent,

This site is a great resource.

Thank you


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


Showmedo is a peer-produced video-tutorials and screencasts site for free and open-source software (FOSS)- with the exception of some club videos, the large majority are free to watch and download.

how to help » about » faq »

Educating the Open-source Community With Showmedo

Although as important as the software it supports, education and documentation are relatively neglected in the Open-source world. Coders love to code, and explaining how best to use or improve the software tends to be deferred or even sidelined.

At Showmedo we believe the community can play a vital role here and also say thanks for the tools and software that make our lives easier. If you have a piece of software you love or a programming langugage you are enthusiastic about, why not make a screencast showing others how to use it? All the stuff you wish you'd been told, the tips, tricks, insights that would have saved you time and frustration.

Screencasting is easier than you think, and we're happy to help you. You can emailus for advice or just use some of the how-to screencasts on the site. This screencasting learning-pathis a good place to start.

Kudos and Thanks for Ian

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.

Related Videos

Content

Feedback

Showmedo's development is fairly rapid and bugs will inevitably creep in. If you have any problems please drop us a line using the contact address below. Likewise, any suggestions for improvements to the site are gratefully received.

feedback@showmedo.com