在Windows和UNIX中创建Pyton应用程序的Exe [英] Creating a Exe of an Pyton Aplication in Windows and UNIX

查看:78
本文介绍了在Windows和UNIX中创建Pyton应用程序的Exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想在Windows和UNIX中创建一个Pyton Aplication的Exe。例如,我有以下.py文件


Sample1.py

Sample2.py

Sample3.py

............... 。

Samplen.py


Main.py


我想为上述文件创建一个exe支持Windows和UNIX操作系统。


谢谢

PSB

Hi,
I want to create a Exe of an Pyton Aplication in Windows and UNIX.For example,Ihave the following ".py"files

Sample1.py
Sample2.py
Sample3.py
................
Samplen.py

Main.py

I would like to create an exe for the above files to support for Windows and UNIX OS.

Thanks
PSB

推荐答案




我想在Windows和UNIX中创建一个Pyton Aplication的Exe。例如,我有以下.py文件


Sample1.py

Sample2.py

Sample3.py

......... .......

Samplen.py


Main.py


我想创建上述文件的exe用于支持Windows和UNIX操作系统。


谢谢

PSB
Hi,
I want to create a Exe of an Pyton Aplication in Windows and UNIX.For example,Ihave the following ".py"files

Sample1.py
Sample2.py
Sample3.py
................
Samplen.py

Main.py

I would like to create an exe for the above files to support for Windows and UNIX OS.

Thanks
PSB



g会发生什么oogling? pyinstaller





我想在Windows和UNIX中创建一个Pyton Aplication的Exe。例如,我有以下.py文件


Sample1.py

Sample2.py

Sample3.py

........... .....

Samplen.py


Main.py


我想创建一个exe以上文件支持Windows和UNIX操作系统。


谢谢

PSB
Hi,
I want to create a Exe of an Pyton Aplication in Windows and UNIX.For example,Ihave the following ".py"files

Sample1.py
Sample2.py
Sample3.py
................
Samplen.py

Main.py

I would like to create an exe for the above files to support for Windows and UNIX OS.

Thanks
PSB



我认为这不适用于* nix。在 Python>中有两篇关于EXE创建的文章。文章的。 Truelove911给出了PyInstaller和py2exe的基础知识。

I don''t think this works on *nix. There are two articles on EXE creation in Python > Articles. Truelove911 has given basics of PyInstaller and py2exe.


好吧,pyinstaller应该在windows,linux和irix下工作,如项目页面所述。但是我没试过。
well, pyinstaller is supposed to work under windows, linux and irix, as stated in the project page. havn''t tried though.


这篇关于在Windows和UNIX中创建Pyton应用程序的Exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆