From a python module, I want to run any.py module, to open it in the shell, just like if I were in IDLE editor and selecting EDIT / Run Module.
I have tried a lot of things, including importing a python.py file
such as, CooperPairs.py, which only has print statements.
This module is not a function, and should not be compiled.
import CooperPairs
( Runs one time).
Also, I have used import os to start Windows applications.
import os
os.startfile(r' C:\Bk2CDNFS\Tes t.xls')
When I try this for Python modules, I get this error,
"Not a valid Win32 application"
I have tried a lot of things, including importing a python.py file
such as, CooperPairs.py, which only has print statements.
This module is not a function, and should not be compiled.
import CooperPairs
( Runs one time).
Also, I have used import os to start Windows applications.
import os
os.startfile(r' C:\Bk2CDNFS\Tes t.xls')
When I try this for Python modules, I get this error,
"Not a valid Win32 application"
Comment