How do I run a Python script from a folder?

Mỹ Duyên

New member
How do I run a Python script from a folder?
Answer
To make Python scripts runnable from any location under Windows:
  • Create directory to put all your python scripts in.
  • Copy all your python scripts into this directory.
  • Add the path to this directory in Windows “PATH” system variable:
  • Run or restart “Anaconda Prompt”
  • Type “your_script_name.py”
 

Tìm kiếm

Back
Top