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

6954 questions
267
votes
23 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
  • 65,535
  • 24
  • 118
  • 129
136
votes
17 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
  • 34,352
  • 35
  • 118
  • 164
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,208
  • 3
  • 17
  • 27
78
votes
7 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,559
  • 3
  • 21
  • 41
51
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
  • 16,347
  • 13
  • 52
  • 71
44
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
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
  • 10,877
  • 12
  • 38
  • 48
41
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
  • 141,486
  • 84
  • 375
  • 483
40
votes
2 answers

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
  • 9,936
  • 25
  • 76
  • 114
38
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,258
  • 2
  • 11
  • 24
35
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
  • 944
  • 2
  • 9
  • 12
31
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
  • 4,733
  • 9
  • 38
  • 56
30
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
  • 317
  • 1
  • 4
  • 6
30
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
  • 38,521
  • 65
  • 199
  • 353
30
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
  • 671
  • 1
  • 6
  • 13
1
2 3
99 100