After writing the first program that can crawl the source code of the Web page, it is found that if the Pythonldle program is not installed on the computer will not run out at all. So start looking for EXE files that can be packaged into a cross-platform run.
None of Google's hard-to-understand, or what they say, is too difficult. But after their own simple Baidu, unexpectedly in Baidu found the simplest solution. (Here is a lesson, for some knowledge in fact Baidu more useful).
Here is the link to the great God directly http://www.360doc.com/content/13/1216/11/11029609_337549928.shtml this tutorial is very simple and clear. And also learned how to enter the cmd command line from the current directory.
It should be added that some programs run as EXE after the console window appears, so found the operation Pyinstaller some knowledge. (As for how to install Pyinstaller, Baidu or Google can easily find)
-f,–onefile packaged as an EXE file.
-d,–onedir creates a directory that contains EXE files, but relies on many files (the default option).
-c,–console,–nowindowed using the console, no interface (default)
-w,–windowed,–noconsole using Windows, no console
You can use the-W method to resolve problems with the console window that appears.
How to package a Python PY program into a cross-platform EXE file