Python Forum
starting python from windows command prompt
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
starting python from windows command prompt
#4
(Sep-04-2020, 05:38 AM)MaartenRo Wrote: My python file is in the Appdata map. I cannot see this map in the command prompt. Is there a way to find this map?
Call it path and not map,there is info about this in link you have gotten.
So in Environment Variables Path you add path to Python.
The default path will eg be.
C:\Users\<your name>\AppData\Local\Programs\Python\Python38
So as in image in link,you add:
C:\Users\<your name>\AppData\Local\Programs\Python\Python38\
C:\Users\<your name>\AppData\Local\Programs\Python\Python38\Scripts\
Restart Pc,and test python and pip -V command from any folder in cmd to see if it works.
Reply


Messages In This Thread
RE: starting python from windows command prompt - by snippsat - Sep-04-2020, 11:22 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  'pip' not recogmnized in windows prompt MaartenRo 1 1,239 Dec-21-2023, 09:05 AM
Last Post: menator01
  Starting over with Python Mark17 1 1,291 Sep-29-2023, 07:16 PM
Last Post: Larz60+
  What is the difference between Command Prompt and Sublimes yaoyao22 1 1,304 Jul-09-2023, 02:56 PM
Last Post: snippsat
  [SOLVED] [Windows] Right way to prompt for directory? Winfried 4 3,364 Jan-17-2023, 09:28 PM
Last Post: markoberk
  Open windows cmd prompt and run cmds with python Extra 3 4,064 Jul-14-2022, 06:07 AM
Last Post: Gribouillis
  Facing Problem while opening a file through command prompt vlearner 4 3,347 Jan-30-2022, 08:10 AM
Last Post: snippsat
Big Grin New to python, starting from scratch Pythnoobvent1971 1 2,693 Apr-16-2021, 01:33 PM
Last Post: Yoriz
  Noob warning: trying to use pip to install pytest and pep8 in Command Prompt adifrank 4 8,971 Dec-20-2020, 04:23 AM
Last Post: adifrank
  Running Python in Command Prompt Anwar 3 4,426 Nov-15-2020, 03:15 PM
Last Post: snippsat
  Will not print in command prompt PandaCode 12 18,696 May-06-2020, 03:48 AM
Last Post: PandaCode

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020