2006年05月09日 星期二 16:58
我运行了一个wxpython+flash的例子,然后想用py2exe编译一个exe文件,编译没有问题。运行的时候不能出现窗体,dos窗口出现如下错误: AttributeError: 'noneType' object has no attribute 'ShockwaveFlash' 请大家帮忙解决一下。 setup.py内容如下: # setup.py from distutils.core import setup import py2exe setup(console=["myscript.py"]) wxpython例子在附件 环境: python 2.4.3 wxpython 2.6.2.1 py2exe 0.6.5 flash 8 professional -- ---------------------------------------- http://genedna.googlepages.com/home ---------------------------------------- 天下风云出我辈, 一入江湖岁月催。 皇图霸业谈笑中, 不胜人生一场醉。 ---------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: testFlash.py Type: text/x-python-script Size: 2013 bytes Desc: not available Url : http://lists.exoweb.net/pipermail/python-chinese/attachments/20060509/6cc041f6/testFlash-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: testFlash.swf Type: application/x-shockwave-flash Size: 40551 bytes Desc: not available Url : http://lists.exoweb.net/pipermail/python-chinese/attachments/20060509/6cc041f6/testFlash-0001.swf
Zeuux © 2025
京ICP备05028076号