Answers for "how to run python file in cmd windows 10"

8

python how to run terminal command

#By Uku Loskit

import os
os.system("ls -l")
Posted by: Guest on January-09-2020
0

how to run a python package from command line

python -m my_course.filter
Posted by: Guest on November-09-2020
1

run python file from cmd

# If the .py file is on the desktop, to run the file:
cd Desktop
FileName.py
Posted by: Guest on August-14-2021
0

Windows 10 running python scripts from cmd

# move to the directory where the script is located and run it like so
cd (path to directory)
python name.py
Posted by: Guest on November-13-2020

Code answers related to "how to run python file in cmd windows 10"

Python Answers by Framework

Browse Popular Code Answers by Language