Python编译? [英] Python compiled?

查看:71
本文介绍了Python编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。我很抱歉这样的菜鸟问题但是我会试着问它

无论如何。

可能会阻止新用户使用的最大问题之一选择Python

语言是它的解释性质。

另一个重要的问题是Windows上没有安装解释器

机器默认情况下这使得分发软件变得更加困难。

是否计划在不久的将来,Python将实现一种形式的

编译?

这很棒。

Hi all. I''m sorry for a noob question like this but I''ll try to ask it
anyway.
One of the greatest problem that may discourage a new user to choose Python
language is it''s interpreted nature.
Another important problem is that no interpreter is installed on Windows
machine by default and this makes harder to distribute the software.
Does it is planned that, in a far future, Python will implement a form of
compilation?
This would be awesome.

推荐答案

billiejoex写道:
billiejoex wrote:
大家好。我很抱歉这样的菜鸟问题,但无论如何我会试着问。
可能会阻止新用户选择Python语言的最大问题之一是这是对自然的解释。


什么?即时结果的即时满足并非令人沮丧。

另一个重要问题是默认情况下Windows / />机器上没有安装解释器,这使得分发更难软件。


Python安装不是很大,人们也没有问题

小额下载

计划在不久的将来,Python会实现一种形式的编译吗?
这会很棒。
Hi all. I''m sorry for a noob question like this but I''ll try to ask it
anyway.
One of the greatest problem that may discourage a new user to choose Python
language is it''s interpreted nature.
What? The instant gratification of immediate results is not
discouraging.
Another important problem is that no interpreter is installed on Windows
machine by default and this makes harder to distribute the software.
Python isn''t that big to install, and people don''t have problems with
small downloads
Does it is planned that, in a far future, Python will implement a form of
compilation?
This would be awesome.




再次,我没有看到编译会如何使Python变得更好。



Again, I don''t see how compiling would make Python better.


>可能阻止新用户选择Python
> One of the greatest problem that may discourage a new user to choose Python
语言的最大问题之一是它的解释性质。


奇怪..这是我爱Python的一个原因:-)

另一个重要问题是Windows
机器上没有安装解释器默认情况下,这使得分发软件变得更加困难。
是否计划在不久的将来,Python将实现一种形式的编译?
这将是非常棒的。
language is it''s interpreted nature.
Strange.. this is one reason I love Python :-)
Another important problem is that no interpreter is installed on Windows
machine by default and this makes harder to distribute the software.
Does it is planned that, in a far future, Python will implement a form of
compilation?
This would be awesome.




py2exe( http:/ /starship.python.net/crew/theller/py2exe/ )和pyinstaller

http://pyinstaller.hpcf.upr.edu/pyinstaller/ )编译python程序

到.exe文件,可以在任何文件上执行Win32机器。


所以你可以使用python解释器开发代码并使用其中任何一个来部署

。我已经使用py2exe和nsis安装程序来创建我的应用程序的安装版本,它的部署非常顺利,就像任何已编译的软件一样,它是b $ b。

-Kartic



py2exe (http://starship.python.net/crew/theller/py2exe/) and pyinstaller
(http://pyinstaller.hpcf.upr.edu/pyinstaller/) compile python programs
into .exe files that can be executed on any Win32 machine.

So you can develop the code using the python interpreter and deploy it
using either of these. I have used py2exe and nsis installer to create
setup versions of my applications and it deployment is really smooth,
just like any compiled software.

-Kartic


嗨!

鼓励我选择Python的最重要原因之一是它的

解释性质(更确切地说是它的动态语言的本质)。


分发或包装的实用程序足以解决很多问题

这种问题。


Py2exe的存在(除其他外),可以满足需求......

@ -salutations


Michel Claveau

Hi !
One of the greatest reason which encouraged me to choose Python is its
interpreted nature (more exactly its nature of dynamic language).

The utilities of distribution, or packaging, are enough numerous to solve
this kind of problem.

The existence of Py2exe (inter alia), could concillier the needs...
@-salutations

Michel Claveau


这篇关于Python编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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