Hello. I have been trying to run a simple script in Windows 7 DOS using the python command, but it returns this error message:
'python' is not recognized as an internal or external command, operable program, or batch file.
I've looked up how to fix on Google, but I can't find anything specifically for Windows 7 and this issue.
Please help and thank you in advance!
Joeflims 0 Newbie Poster
Recommended Answers
Jump to PostWhat version have you installed from http://python.org/download/ and does your current path include the installation location? Do you have PYTHONPATH set?
Jump to PostHello. I have been trying to run a simple script in Windows 7 DOS using the python command
Dont call it DOS because it`s a long time since windows had DOS.
Windows 98 is the last version based on MS‑DOS.Command Prompt is sometimes incorrectly referred to as "the DOS …
Jump to PostJust a note,dont use singel \ it can be used as an escape character.
For windows always python C:\\my_script\\script.py or python C:/my_script/script.py
All 10 Replies
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
Joeflims 0 Newbie Poster
snippsat 661 Master Poster
Joeflims 0 Newbie Poster
Joeflims 0 Newbie Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
Joeflims 0 Newbie Poster
griswolf 304 Veteran Poster
snippsat 661 Master Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.