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
python 3.4 /2.7
# c sharp#
using pyActive;
pyActive.py3 py = 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
Dim py,num
Set py= 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!
Github: https://github.com/chygfm/activeExe email:[email protected] web: activeExe
================================================================================================
有2种方法可以生成python的独立运行程序。 方法1 使用其它语言调用pyAcvtiveEXE组件 方法2 修改/py/py.cfg配置文件,能实现简单功能,没有输入界面
使用python的pyAcvtiveEXE组件(<15M)可以生成独立运行程序,以便C,python,C#,C++,javascript,Go,Java,vbs...等语言可以调用。
:: 在新的电脑上windows系统上需要初始化pyActiveEXE组件
:: pyActiveEXE.exe /r
:: 或者点击运行 pyActiveEXE.exe
:: 运行test文件夹下面的demo
:: 卸载pyActiveEXE组件 pyActiveEXE.exe /u
修改/py/py.cfg配置文件,run=1,点击运行pyActiveEXE.exe
Github: https://github.com/chygfm/activeExe email:[email protected] web: activeExe