windows系统 简单地生成python的小巧的独立运行程序

在Windows系统,可以生成python的独立运行程序,使用python的pyAcvtiveEXE组件(<15M)可以生成独立运行程序,以便C,python,C#,C++,javascript,Go,Java,vbs...等语言可以调用。

支持python2.7  python3.4  (python3.7未发布)

方法1 使用其它语言调用pyAcvtiveEXE组件

方法2 修改/py/py.cfg配置文件,能实现简单功能,没有输入界面


方法1调用组件

:: 在新的电脑上windows系统上需要初始化pyActiveEXE组件 :: pyActiveEXE.exe /r

:: 或者点击运行 pyActiveEXE.exe

:: 运行test文件夹下面的demo

:: 卸载pyActiveEXE组件 pyActiveEXE.exe /u

方法2修改/py/py.cfg

修改/py/py.cfg配置文件,run=1,点击运行pyActiveEXE.exe

联系

Github:https://github.com/chygfm/activeExeemail:cyg6(at)qq.com

Welcome to pyAcvtiveEXE python 3.4 win32 for Windows

You have 2 ways to generate a standalone executable python program .

Method 1 call pyAcvtiveEXE component from other languages Method 2 config the /py/py.cfg, Limited functionality,No input interface,change the the exefile's ico by QIcon Changer or Resource Hacker

Use python's pyAcvtiveEXE component (<15M) to generate a standalone program for C,python,C#,C++,javascript,Go,Java,vbs...languages' calls. pyAcvtiveEXE component is too small,only about 15M,too easy,can call almost python program

###Method 1

:: install pyActiveEXE Component one time for initialization in new machine on windows system. :: pyActiveEXE.exe /r

:: or click pyActiveEXE.exe

:: run demos under text folder Markdown

python3.4/2.7

# c sharp#

usingpyActive;

pyActive.py3py = new pyActive.py3();

MessageBox.Show(py.version());

py.quit();

# vbs#

1. run pyActiveEXE.exe /r  or  click pyActiveEXE.exe to  install

2. in  vbs demo code

Dimpy,num

Setpy= CreateObject("pyActive.py3")

msgbox(py.eVal(3+6))

py.quit()

:: Uninstall pyActiveEXE Component pyActiveEXE.exe /u

###Method 2

config /py/py.cfg ,change run=1,click pyActiveEXE.exe,OK!

Support or Contact

Github:https://github.com/chygfm/activeExeemail:cyg6(at)qq.com

你可能感兴趣的:(windows系统 简单地生成python的小巧的独立运行程序)