Questions tagged [wxpython]

wxPython is a Python wrapper for the cross-platform C++ GUI API wxWidgets.

wxPython is a GUI toolkit for the Python programming language. It allows Python programmers to create programs with a robust, highly functional graphical user interface, simply and easily. It is implemented as a Python extension module (native code) that wraps the popular wxWidgets cross-platform GUI library, which is written in C++.

Resources

Books

7221 questions
345
votes
24 answers

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 render to a wxDC or I can save the images to…
FogleBird
  • 74,300
  • 25
  • 125
  • 131
169
votes
18 answers

How can I create a simple message box in Python?

I'm looking for the same effect as alert() in JavaScript. I wrote a simple web-based interpreter this afternoon using Twisted Web. You basically submit a block of Python code through a form, and the client comes and grabs it and executes it. I want…
Carson Myers
  • 37,678
  • 39
  • 126
  • 176
97
votes
8 answers

How to stop a looping thread in Python?

What's the proper way to tell a looping thread to stop looping? I have a fairly simple program that pings a specified host in a separate threading.Thread class. In this class it sleeps 60 seconds, the runs again until the application quits. I'd…
pedram
  • 2,931
  • 3
  • 27
  • 43
80
votes
3 answers

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 annoying (as errors messages should be). I am using…
Paige Watson
  • 1,218
  • 3
  • 17
  • 27
52
votes
11 answers

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 information messages but fails to generate…
Charles Anderson
  • 19,321
  • 13
  • 57
  • 73
47
votes
3 answers

wxPython vs PyQt vs PyGTK: when and what to use?

Need advise from those who have minimum health experience to design GUI interfaces with Python. When and what to choose depending of GUI complexity? Which GUI builders can we use to have a better development quality? This is my first GUI design,…
user1630938
46
votes
9 answers

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 and when I right-click on it a menu appears with…
Marco Moschettini
  • 1,555
  • 2
  • 16
  • 26
43
votes
8 answers

Nice IDE with GUI designer for wxPython or Tkinter

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 most inclined to are wxPython and Tkinter; but I…
Alix Axel
  • 151,645
  • 95
  • 393
  • 500
43
votes
8 answers

wxPython for Python 3

Does wxPython have a version for Python 3? If it does, where can I get it?
Jijoy
  • 12,386
  • 14
  • 41
  • 48
41
votes
1 answer

What is the difference between Python vs Jython vs IronPython vs wxPython?

I am quite new in Python programming. While googling I found some of the Python related words. I just wanted to know what is the difference among Python, Jython, IronPython, and wxPython. I know wxPython is for GUI programming. But what are Jython…
Rasmi Ranjan Nayak
  • 11,510
  • 29
  • 82
  • 122
39
votes
11 answers

How to create a Mac OS X app with Python?

I want to create a GUI application which should work on Windows and Mac. For this I've chosen Python. The problem is on Mac OS X. There are 2 tools to generate an ".app" for Mac: py2app and pyinstaller. py2app is pretty good, but it adds the source…
Cristian Ciocău
  • 1,024
  • 2
  • 10
  • 14
37
votes
1 answer

Retrieve XY data from matplotlib figure

I'm writing a little app in wxPython which has a matplotlib figure (using the wxagg backend) panel. I'd like to add the ability for the user to export X,Y data of what is currently plotted in the figure to a text file. Is there a non-invasive way…
brettb
  • 771
  • 1
  • 6
  • 14
33
votes
2 answers

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 example, this is the normal way: b = wx.Button(self,…
crystalattice
  • 5,031
  • 12
  • 40
  • 57
31
votes
4 answers

How can I hide the console window when freezing wxPython applications with 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 console window pops up. I don't want to show it. Is…
Mridang Agarwalla
  • 43,201
  • 71
  • 221
  • 382
29
votes
5 answers

A good wxpython GUI builder?

Is there a good wxpython GUI builder that does not require much coding, like in the case of the form builder in MS visual studio ?
Nataly
  • 307
  • 1
  • 4
  • 6
1
2 3
99 100