Quantcast
Channel: Running Python from the Windows Command Line - Stack Overflow
Viewing all articles
Browse latest Browse all 8

Answer by quip for Running Python from the Windows Command Line

$
0
0

Wouldn't you simply save your Python code into a file, and then execute that file using Python?

Save your code into a file called Test.py.

And then run it?

$ C:\Python24\Python.exe C:\Temp\Test.py

Viewing all articles
Browse latest Browse all 8

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>