Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试.py与某人共享文件。有没有办法发送.py已包含软件包的文件,还是他们必须自己安装?
.py
试图用tkinter包发送一个文件,但是当他们打开它时,他们只是得到这个错误。
tkinter
谢谢您的帮助
您可以使用 pyinstaller 生成可执行文件或包含所有必需脚本/文件的文件夹。您可以在此处找到有关pyinstaller的更多信息。您可以在此处找到文档。