你可以通过命令来“完全编译”目标脚本,这样就会创建。class文件,其中绑定了运行时会生成的所有方法。
You'll run a command to "fully compile" a target script or scripts, and it will create the.class file it does now along with all the method binding.class files it normally generates at runtime.
通过该方法,您可以受益于托管环境,在该环境中执行完全编译的基于. NET的应用程序,其中包括代码访问安全性。
Along the way you get the benefits of the managed environment in which a fully compiled.net-based application executes, including code access security.
也就是说,python源代码是通过python命令编译成字节码的,所用的方式和以前完全相同(除了为调用Psyco而添加的几个import语句和函数调用)。
That is, python source code is compiled by the python command to bytecode in exactly the same manner as before (except for a couple import statements and function calls added to invoke Psyco).
应用推荐