Hello!
I’ve never worked with Python but I downloaded it and installed it (Windows 11) so I could run a Python program that was given to me by a chip manufacturer. The Python program uploads an executable into a micro-controller board over a USB and also acts as a terminal communicating with the system code on the board. It is supposed to be called from a batch file. The batch file runs an assembler and linker to create the executable, then runs the Python uploader with the file name and some command-line options. The batch file aborts with a message that the uploader program:
“is not recognized as an internal or external command, operable program or batch file.”
Apparently Python is not in the path. In the old days, we had an autoexec.bat file that had a PATH command, so it was easy to put a program in the path. I don’t know how to do this now though.
I looked at the properties for the Python program and it opens with Python. If I double-clock on it I see the command window do something, but it closes before I can see what was done. Most likely it ran the Python program and the Python program aborted with an error message because it hadn’t been given a file to work with or any command-line options.
This is really a question about Windows, not Python, but it seems to me that the Python installation should have put Python in the path.
any help is appreciated — Hugh