I am working on python on a windows 8.1 machine. I am a beginner and when I want to install a module or look at the version, I have to write the command such as py -m pip install module-name, instead of just writing pip install module-name. If I have to check for python version I have to writepy –versio…
Tag: cmd
Opening python files through cmd not working
I want to run python files through cmd (python 3) from my desktop by using this command: I have made sure to click on all the ok buttons when adding a path, I had the python installation automatically add paths so python works through the terminal. It just won’t do it without me pasting in the path manu…
Could not import “D”: FLASK_APP
I am new to Flask. I wrote this basic code and save it in hello.py in my D:Cat_vs_Dogscripts folder. Then in command prompt, I wrote the following commands. I am getting this error. What should I do…? Answer Flask v1.1.x https://flask.palletsprojects.com/en/1.1.x/cli/#application-discovery The above doc…
Python cmd module – Resume prompt after asynchronous event
I am maintaining an operator terminal based on cmd. The customer asked for an alerting behavior. e.g. a message shown onscreen when some asynchronous event occurs. I made a thread that periodically checks for alerts, and when it finds some, it just prints them to stdout. This seems to work OK, but it doesn…