wxFormBuilder: Build a Python Gif Viewer Part 11 - Gif Animator Code

preview_player
Показать описание
In this tutorial you will add code for the wxPython Gif Animator widget. After adding the code you will be able to see animated Gif images.

Рекомендации по теме
Комментарии
Автор

After the tutorial I am now stunned to speak, with 6 cleaner files, I am 400 lines down. I will make sure to add 5 years of experience to my portfolio after this tutorial. I still got part 12!

mateokladaric
Автор

I was able to get this far. However, adding "import wx.animate" didn't work. I get this error when I run it:
Traceback (most recent call last):
File ".\gifviewer.py", line 5, in <module>
import wx.animate
ImportError: No module named animate

I've installed wxPython for 2.7 and Win 64bit to match my system. I see the animate.py file located at

Any idea why it can't find animate, but can find wx and all the other libraries so far?

frakman
visit shbcf.ru