Can I display animated images like an animated GIF file using Python code?
Lardmeister
461
Posting Virtuoso
Recommended Answers
Jump to PostYou need to use the wxPython GUI toolkit to do that:
# experiment with the wx.animate.GIFAnimationCtrl() widget # needs wxPython installed import wx import wx.animate class AnimatedGif(wx.Panel): """class to show an animated gif image on a panel""" def __init__(self, parent, id): wx.Panel.__init__(self, parent, id) #self.SetBackgroundColour("black") # pick …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.