I want to run a python file in my command prompt but it does nothing. These are the screen shots of my program i am testing with and the output the command prompt gives me.
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
First go to the directory where your python script is present by using-
then simply do:
You have to
install
Python and add it to PATH onWindows
. After that you can try:or go to the files directory and execute:
First set path of
python
https://stackoverflow.com/questions/3701646/how-to-add-to-the-pythonpath-in-windowsand run
python
filepython filename.py
command line argument with python
python filename.py command-line argument