Recently wrote a code for moving and copying files, after the code is complete, want to package it into a software that can be used on any computer,
So to find relevant information online, you can use PyInstaller packaged into .exe program, the following are the specific steps:
1. Install PyInstaller third-party libraries,
Method a: PyCharm enter commands in the command window PIP PyInstaller the install .
Method 2: In the cmd command window enter the command PIP PyInstaller the install .
2. On the need to package the code, press the Shift key, and click the right mouse button and choose Powershell window.
3. In the dialog PowerShell enter this command can be completed package, the following command PyInstaller mc_file.py -F .
PyInstaller