擅长:python、mysql、java
<p>可以使用<a href="http://www.pyinstaller.org/" rel="noreferrer">PyInstaller</a>将Python程序打包为独立的可执行文件。它可以在Windows、Linux和Mac上运行。</p>
<blockquote>
<h1>PyInstaller Quickstart</h1>
<p>Install PyInstaller from PyPI:</p>
<pre><code>pip install pyinstaller
</code></pre>
<p>Go to your program’s directory and run:</p>
<pre><code>pyinstaller yourprogram.py
</code></pre>
<p>This will generate the bundle in a subdirectory called <code>dist</code>.</p>
<p>For a more detailed walkthrough, see the <a href="https://pyinstaller.readthedocs.io/" rel="noreferrer">manual</a>.</p>
</blockquote>