Using the Windows command prompt
This is the format of what you need to enter
C:\> python the_python_script_i_want_to_run any_arguments
Instructs that you want to use python.exe for this. Sometimes you need to enter “python3” instead of “python”, if that’s what your .exe is named.
This assumes you have the path to python.exe added to your Windows PATH environmental variable. If not you need to either add it (and reboot your PC), or instead provide the full path to your python install. e.g.
or you’ll need to put quotes around the path if there’s spaces in it:
What you want python.exe to run for you. Again if you want to use just its name, you’ll need to ensure its path has been added to the Windows PATH environmental variable. Otherwise provide the full path to it, again with double quotes around it if there are spaces in the path.
If the python thing you are running has arguments that need to be provided, they get added here
An example assuming your Windows PATH environmental variable has nothing added for Python
C:\> C:\Espressif\.espressif\python_env\idf5.0_py3.8_env\Scripts\python C:/Espressif/esp/esp-idf/components/esptool_py/esptool/espefuse.py -p COM10 summary
An example assuming your Windows PATH environmental variable has the path to python.exe
C:\> python C:/Espressif/esp/esp-idf/components/esptool_py/esptool/espefuse.py -p COM10 summary