由买买提看人间百态

topics

全部话题 - 话题: imagepanel
(共0页)
j*****k
发帖数: 1198
1
来自主题: Programming版 - Help for a python error
# code
import wx
from wx.animate import *
class ImagePanel(wx.Panel):
""" create a panel with a wx.StaticBitmap """
def __init__(self, parent):
wx.Panel.__init__(self, parent)
ctrl = GIFAnimationCtrl(self)
app = wx.App(0)
# create window/frame instance
frame = wx.Frame(None)
# create the panel instance
ImagePanel(frame)
# show the frame
frame.Show(True)
# start the GUI event loop
app.MainLoop()
# error
# Python Error
# can't open file " (error 3...
(共0页)