How can I use your method on windows? What should I install in widows in addition to the python 3.10?
OK, I did not understand you have problems running a Python script on a machine with Python installed. It looked like you have accomplished this. Normally making an .exe
is a much more advanced step.
See this part of the documentation:
https://docs.python.org/3/using/windows.html
To run a Python script on Windows you either use the recommended launcher, installed by default:
py your_script.py
Or you use the direct command, when added to your PATH
.
The first one differs from most platforms where you start Python using python3
:
python your_script.py
I think this one is accessible when you install Python using the Microsoft store:
python3 your_script.py