Name: [002] Ian Ozsvald
Member: 128 months
Authored: 181 videos
Description: I am the co-founder of ShowMeDo (see, author of `The Screencasting Handbook <>`_ and the founder of the professional screencast production company `ProCasts <>`_: .. image:: ...

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: 6292 (since July 30th)
  • Plays in last week: 142
  • Published: 110 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. RaymondRip Sat, 16 Oct 2010 19:10

Thanks man

141. ¥í¥ì¥Ã¥¯¥¹ ¥Ç¥¤¥È¥¸¥ã¥¹¥È ¥°¥é¥ó¥É¥»¥¤¥³©` Fri, 15 Oct 2010 13:04

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.

140. Luminator Light by Achille Castiglioni Thu, 14 Oct 2010 14:55

Great video! Thank you!

139. cheap jordans online Thu, 30 Sep 2010 00:15

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

138. Botas Timberland Segunda Mano Fri, 10 Sep 2010 05:12

Your video is great!! Thanks

137. Timberland Ni&#241;os Outlet Fri, 10 Sep 2010 04:08


This is very usefull leson for me

136. ralph lauren jackets womens sale Mon, 06 Sep 2010 11:06

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!

135. beats headphones uk Sat, 04 Sep 2010 15:04

Thanks, very helpful.

133. nba game on tv Wed, 18 Aug 2010 15:57

Video was helpful and simplified. Quite helpful.

132. espn live stream online free 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.




Nice thanks alot

127. maccosmeticswholesaleoutlet mac makeup 10pcs brushes Sat, 07 Aug 2010 15:43

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

126. mac mineralize satin finish foundation Attractive Designs BL2mrb4M5d Trévangur Thu, 05 Aug 2010 16:39

Pretty useful! Thanks!

125. maccosmeticswholesalers benefit cosmetics c 49 Wed, 04 Aug 2010 16:25

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

124. mbt schuhe tabia military 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!

123. maccosmeticswholesalers mac makeup other brushes c 1 Sun, 01 Aug 2010 08:43

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

122. Paper Lantern Outlet Sat, 31 Jul 2010 07:57

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

121. bracelet love cartier imitation Mon, 26 Jul 2010 10:07

Awesome video! Thanks it helped a lot!

120. itilebeleb Sat, 24 Jul 2010 19:45

Thanks for the quick tutorial =]

119. aruwdivugeyuu Sat, 24 Jul 2010 18:00


118. Charlesea Tue, 20 Jul 2010 01:33

thank you :)

117. maccosmeticswholesaleoutlet mac loose foundation c 5 Mon, 19 Jul 2010 19:29

Thank you!

116. pandora white egg ace angry birds charms Sun, 18 Jul 2010 03:32

Thank you.

115. christian louboutin cheapest Tue, 13 Jul 2010 18:27

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

Thanks! Very helpful.

Thanks! Very helpful.

112. Marilynlady Fri, 11 Jun 2010 12:20

Thank you putting this wonderful video!

111. Cynthiami Thu, 10 Jun 2010 12:57

It was easy thank you

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.


109. mbt footwear technology Mon, 07 Jun 2010 07:56

Good job.

108. jordans for cheap Tue, 01 Jun 2010 08:31

Thanks your share

107. Sun, 30 May 2010 17:37

That was clear, thanks!

106. &#21363;&#26085;&#20986;&#33655; 100&#65285;&#26412;&#29289;&#12398;&#21697;&#36074;&#12391;&#22909;&#35413;&#30330;&#22770;&#24133;&#24195;&#12356; Thu, 13 May 2010 04:46

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 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. Wed, 05 May 2010 18:51

Thanks for the vid

104. baselsvt Fri, 23 Apr 2010 13:07

Short, direct, and practical. Thanks!

103. fitflops on sale australia Tue, 13 Apr 2010 09:19

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!

102. fitflops on sale australia Tue, 13 Apr 2010 09:14

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. GincentPa Sat, 10 Apr 2010 17:09

Very helpful. Thank you for the clarity.

100. uwisanbhueroq Tue, 06 Apr 2010 13:09


99. uhogfwaze Tue, 30 Mar 2010 07:23

Thank you.

98. jasa SEO, Backlink, Blogwalking murah Sun, 28 Mar 2010 16:59

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

97. jasa SEO, Backlink, Blogwalking murah Sun, 21 Mar 2010 04:48

Thanks. :-> That was very helpful.

96. Sat, 20 Mar 2010 11:20

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

95. marinir seo jasa seo Sun, 14 Mar 2010 14:11

nice video about my problem

94. marinir seo 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,


93. mthfjmojvv Mon, 15 Feb 2010 09:18


This site is a great resource.

Thank you

92. wnkoeefwia Mon, 01 Feb 2010 11:00

Thanks!! New to python on Windows

91. Sun, 31 Jan 2010 08:00

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

90. Smithf595 Fri, 29 Jan 2010 07:59

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

89. where to buy mbt shoes in sydney 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. Fri, 22 Jan 2010 05:50

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

87. cheap jordans online 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!


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!


75. anonymous Fri, 06 Nov 2009 12:18

Very nice English accent and good tutorial. Thanks.

74. anonymous Sat, 31 Oct 2009 19:04


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 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!


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!


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


39. anonymous Wed, 20 May 2009 18:49

cool solutions !


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!


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


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.


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

3 Minute Oveview (What Does Python Look Like?)

simple and informative. you draw me in
70 months ago

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.



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.