Skip to content

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…