There are three options for booting from the boot:
1, put your Python program into a directory of C, and then put its shortcut to the Windows boot from the folder (folder location in the Start menu)
2, Python packaged into EXE, put into the Startup folder
3, start.c packaged into EXE, let start.c call your Python program
Start.c
#include <stdio.h><stdlib.h><sys/types.h><unistd.h>int Main (void) { //setuid (0); System ("python h:/code/client.py"); return 0 ;}
In the first scenario, it was foolish to set Python's default open mode to sublime, and the result was that the python was opened with sublime from the start ... So choose the second way, with Py2exe, the result of import ZMQ cause packaging error, has not been resolved, and finally use the third, in this machine can run normally, but the change of environment will be flash back. And finally back to the first kind ... Then a week passed ... "Cry"
Windows Python program boot from Boot