if keep module1.py code together with mainmodule1.exe, how to convert to executable file with py2exe in this case?
after tried, it can run executable file with source code module1.py but the modified date can not be changed even if content of module1.py changed then i delete the file and change in another directory, then copy to the directory with executable file, it still can not reload the module mainmodule1.py import module1 #from module1 import func1 while 1: module1.func1() reload(module1) module1.py def func1(): print("version 1") -- https://mail.python.org/mailman/listinfo/python-list