擅长:python、mysql、java
<p>您可以使用<a href="https://pyinstaller.readthedocs.io/en/stable/usage.html#what-to-generate" rel="nofollow noreferrer">pyinstaller</a>执行此操作。这些命令必须在windows操作系统上运行。在</p>
<pre><code>pip3 install pyinstaller
pyinstaller onefile <your_script_name>.py
</code></pre>