2005年07月26日 星期二 21:44
from wxPython.wx import * 注意P大写 不过建议使用import wx,上面那种形式在以后的版本将会取消。 老K wrote: > Jason Liu,您好! > > 2.6已经不能够用 form wxpython.wx import * 了。会报错. > > > ======= 2005-07-26 18:33:35 您在来信中写道:======= > > >>从2.5开始就变了,不过form wxpython.wx import *还是可以用的。 >>2.6已经不兼容了吗?我记得wxpython升到2.5的时候boa小组着实郁闷一段时间呢。 >> >>在 05-7-26,老K<koria at 163.com> 写道: >> >>>python-chinese,您好! >>> >>> 最近在学着用boa, 发现 书本中的 form wxpython.wx import * 居然报错。 >>>后来察看帮助, 才知道要用 from wx import * >>> 但是 好像不能够直接 from wx.lib import * 这句会出错. >>>奇怪。 >>> 另外现在的很多资料都是 用 wxpython 做模块名而不是用wx,一时间感到不习惯.. >>> >>> >>> With >>> Best Regard! >>> >>> >>>老K >>>koria at 163.com >>>2005-07-26 >>> >>>_______________________________________________ >>>python-chinese list >>>python-chinese at lists.python.cn >>>http://python.cn/mailman/listinfo/python-chinese >>> >>> >>> >> >>_______________________________________________ >>python-chinese list >>python-chinese at lists.python.cn >>http://python.cn/mailman/listinfo/python-chinese >> > > > = = = = = = = = = = = = = = = = = = = = > > > With > Best Regard! > > > 老K > koria at 163.com > 2005-07-26 > > > > ------------------------------------------------------------------------ > > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese -- Qiangning Hong I'm usually annoyed by IDEs because, for instance, they don't use VIM as an editor. Since I'm hooked to that, all IDEs I've used so far have failed to impress me. -- Sybren Stuvel @ c.l.python Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=1>
Zeuux © 2025
京ICP备05028076号