37
votes
11answers
29k views
py2exe fails to generate an executable
I am using python 2.6 on XP. I have just installed py2exe, and I can successfully create a simple hello.exe from a hello.py. However, when I try using py2exe on my real program, py2exe produces a few ...
32
votes
7answers
23k views
Programmatically generate video or animated GIF in Python?
I have a series of images that I want to create a video from. Ideally I could specify a frame duration for each frame but a fixed frame rate would be fine too. I'm doing this in wxPython, so I can ...
24
votes
7answers
19k views
Nice IDE for wxPython or Tkinter GUI Development
I have a little experience developing small command-line applications with Python. I want to move on to developing GUIs with Python. From the available GUI toolkits for Python, the ones I feel the ...
19
votes
4answers
10k views
How to check if OS is Vista in Python?
How, in the simplest possible way, distinguish between Windows XP and Windows Vista, using Python and pywin32 or wxPython?
Essentially, I need a function that called will return True iff current OS ...
18
votes
2answers
16k views
wxPython, Set value of StaticText()
I am making a little GUI frontend for a app at the moment using wxPython.
I am using wx.StaticText() to create a place to hold some text, code below:
content = wx.StaticText(panel, -1, "Text Here", ...
17
votes
2answers
16k views
Python - No handlers could be found for logger “OpenGL.error”
Okay, what is it, and why does it occur on Win2003 server, but not on WinXP.
It doesn't seem to affect my application at all, but I get this error message when I close the application. And it's ...
17
votes
2answers
3k views
Is it possible to pass arguments into event bindings?
I haven't found an answer elsewhere and this doesn't appear to have been asked yet on SO.
When creating an event binding in wxPython, is it possible to pass additional arguments to the event? For ...
16
votes
6answers
9k views
Undefined variable from import when using wxPython in pydev
I just downloaded wxPython, and was running some of the sample programs from here. However, on every line that uses a variable from wx.*, I get a "Undefined variable from import error"
For example, ...
15
votes
6answers
10k views
WxPython Incompatible With Snow Leopard?
Recently I upgraded to Snow Leopard, and now I can't run programs built with wxPython. The errors I get are (from Eclipse + PyDev):
import wx
File ...
14
votes
4answers
6k views
Hide console window with wxPython and cxFreeze
I'm developing a Python application using wxPython and freezing it using cxFreeze. All seems to be going fine apart from this following bit:
When I run the executable created by cxFreeze, a blank ...
13
votes
7answers
5k views
Qt being now released under LGPL, would you recommend it over wxWidgets? [closed]
I am quite a heavy user of wxWidgets, partly because of licensing reasons.
How do you see the future of wxWidgets in prospect of the recent announcement of Qt now being released under LGPL?
Do you ...
13
votes
2answers
4k views
Quick and easy: trayicon with python?
I'd just need a quick example on how to easily put an icon with python on my systray. This means: I run the program, no window shows up, just a tray icon (I've got a png file) shows up in the systray ...
13
votes
2answers
3k views
What can Pygame do in terms of graphics that wxPython can't?
I want to develop a very simple 2D game in Python. Pygame is the most popular library for game development in Python, but I'm already quite familiar with wxPython and feel comfortable using it. I've ...
12
votes
7answers
439 views
Is it a bad idea to design and develop a python applications backend and then once finished try to apply a GUI to it?
Is it better to do it all at once? I'm very new to wxPython and I'm thinking it would be better to write the program in a way familiar to me, then apply the wxPython gui to it after I'm satisfied with ...
12
votes
7answers
3k views
How to debug wxpython applications?
I'm trying wxpython for the first time. I've wrote a GUI for a python program and when I run it, it produces some error in the GUI, but the GUI disappears very quickly, quickly enough for me to be ...