boa-constructor

Can not start boa-constructor successfully

怎甘沉沦 提交于 2019-12-09 18:11:32
问题 When I start boa-constructor from the command line by starting the script "Boa.py", I got the message says " D:\Python27\Lib\site-packages\boa-constructor>python Boa.py Starting Boa Constructor v0.6.1 importing wxPython reading user preferences Traceback (most recent call last): File "Boa.py", line 271, in <module> import Preferences, Utils File "D:\Python27\Lib\site-packages\boa-constructor\Preferences.py", line 151 in <module> execfile(file) File "C:\Users\madfrog\.boa-constructor\prefs.rc

Python WX - Returning user input from wx Dialog

北城余情 提交于 2019-12-09 00:36:07
问题 I'm new to Python and WX. I created a simple test dialog shown below that prompts the user with a combobox. I would like to capture the value from the combox in my main program. How do I call it from my main program? This is how I was purposing to call it that displays the dialog but does not currently capture the value from the combobox: import highlight highlight.create(self).Show(True) a = highlight.OnComboBox1Combobox(self) print a The name of the Dialog file is "highlight". Below is the

Can not start boa-constructor successfully

折月煮酒 提交于 2019-12-04 06:56:30
When I start boa-constructor from the command line by starting the script "Boa.py", I got the message says " D:\Python27\Lib\site-packages\boa-constructor>python Boa.py Starting Boa Constructor v0.6.1 importing wxPython reading user preferences Traceback (most recent call last): File "Boa.py", line 271, in <module> import Preferences, Utils File "D:\Python27\Lib\site-packages\boa-constructor\Preferences.py", line 151 in <module> execfile(file) File "C:\Users\madfrog\.boa-constructor\prefs.rc.py", line 26, in <module> splitterStyle = wx.SP_LIVE_UPDATE | wx.SP_3DSASH | wx.NO_3D AttributeError:

Python WX - Returning user input from wx Dialog

点点圈 提交于 2019-11-30 20:39:06
I'm new to Python and WX. I created a simple test dialog shown below that prompts the user with a combobox. I would like to capture the value from the combox in my main program. How do I call it from my main program? This is how I was purposing to call it that displays the dialog but does not currently capture the value from the combobox: import highlight highlight.create(self).Show(True) a = highlight.OnComboBox1Combobox(self) print a The name of the Dialog file is "highlight". Below is the code: #Boa:Dialog:Dialog2 import wx def create(parent): return Dialog2(parent) [wxID_DIALOG2, wxID

使用cx_Freeze打包wxpython和boa-constructor开发的应用

给你一囗甜甜゛ 提交于 2019-11-29 12:13:52
零、准备工作: 资源下载链接: 1.[python 2.7]: http://python.org/getit/ 不用多解释,根基 2.[cx_Freeze]: http://sourceforge.net/projects/cx-freeze/files/ 把python写的程序打包为exe文件【python运行库和exe】 3.[wxPython]: http://wxpython.org/download.php (我下载的:wxPython2.8-win32-unicode-py27 ) 这是python的一个图形界面库 4.[boa-constructor]: http://sourceforge.net/projects/boa-constructor/files/ 这是个 IDE ,界面类似delphi,可以拖控件,和wxpython配合用。 单就打包python写的应用来说,cx_Freeze就够了。 目标: 用wxPython库和Boa集成开发环境构建个有图形界面的程序,然后把这软件用cx_Freeze打包为exe。 这个程序只有一个按钮,点击按钮弹出个提示窗口O(∩_∩)O~. (软件的安装过程我就不啰嗦了,按提示走。 ) [这篇日志的价值: 1.列出需要的软件及下载地址 2. 让你知道用python构建图形界面的程序的另一个选择——wxPython+Boa ]