I have a different question today:
how do I call the python interpreter AND tell it to open a python program from inside another program UNDER WINDOWS?
My program is running fine, and it even has a text mode without any graphical interface. Under Linux, you click on the 'text mode button', and it calls a console, which in turn calls python and tells it to open the program's non graphicl version.
Here is the code:
if os.name == "nt":
tkinter.messagebox.showwarning("Programmer error", "The programmer was not skilled enough to get this to work under Windows")
if os.name == "posix":
os.popen("xterm -geometry 160x40 -e python3.1 ./textversion.py")
as you can see, I'm calling xterm and telling it to open the text version. Now, how do I do it under windows? I have tried this:
c:\Program Files\Python3.1/python.exe ./textversion.py
but no luck...