【发布时间】:2014-07-01 20:18:31
【问题描述】:
我的代码有这个结构
class Mapsframe(wx.Frame):
def __init__(self):
import application
class Example(wx.Frame,listmix.ColumnSorterMixin):
def __init__(self, *args, **kwargs):
super(Example, self).__init__(*args, **kwargs)
self.InitUI()
def InitUI(self):
def onItemSelected(self,event):
frame = Mapsframe()
application 是另一个正在运行的python scipt,我想将在def onItemSelected 内部创建的一些变量传递给python 脚本application.py 内部的一个类。有什么想法吗?
【问题讨论】:
标签: python wxpython python-module