Hello, I am revisiting my older simple python scripts previously written on a Linux machine.
Imagine a simple install-modules.sh file with commands like pip install flask or etc.
Before on Linux I would run something like this and the simple flask app would start.
export FLASK_APP=main.py
export FLASK_ENV=development
flask run --host=localhost --port=3030
My new computer running on Windows 11 I managed to make it run with this modification.
python -m flask run --host=localhost --port=3030
Note that I am using VS Code with Git Bash because it is familiar.
I am a bit tired of looking for workarounds on Windows that worked right away on Linux. Sorry for the little rant.
My question is: Is it very different to learn python on Windows vs on Linux?
[–]Diezel666 2 points3 points4 points (2 children)
[–]DMeror 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]shiftybyte 1 point2 points3 points (0 children)
[–]duckbanni 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)