Answer the question
In order to leave comments, you need to log in
Why is the script not running in python shell?
I am learning to write in flask, for testing work with objects it is often necessary to use the console ... I came across a script that automatically loads models when I start using python filename.py shell
it, but I only start the server. What to do? win system...
Answer the question
In order to leave comments, you need to log in
Если python
не в переменной PATH
, нужно указать прямой путь к интерпретатору.
Т.е. python filename.py shell
->
C:\Python<YOURVERSION>\python.exe filename.py shell
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question