wxPython

from Wikipedia, the free encyclopedia
wxPython

logo
Basic data

developer Robin Dunn
Harri Pasanen
Current  version 4.0.4
(2019-01-05 00:00)
operating system platform independent
programming language C ++ / Python
category Class library
License Free software license, GNU General Public License
wxpython.org

wxPython is a wrapper for the GUI toolkit wxWidgets for the Python programming language . The usage is almost identical to that of the C ++ version. wxPython is an alternative to Tkinter , which belongs to the Python package and is based on the Tk API. Like Python and wxWidgets, wxPython is open- source and platform-independent .

example

This program creates a window with the text "Hello world!"

#!/usr/bin/env python

import wx

class TestFrame(wx.Frame):
    def __init__(self, parent, title):
        wx.Frame.__init__(self, parent, wx.ID_ANY, title=title)
        text = wx.StaticText(self, label="Hallo Welt!")

app = wx.App(0)
frame = TestFrame(None, "Ein kleines Beispiel")
frame.Show()
app.MainLoop()

wxPython-based programs

  • BitTorrent is a file sharing program using the BitTorrent protocol
  • Dropbox , online storage / data synchronization service
  • PlayOnLinux and PlayOnMac, graphical configuration programs for Wine with a focus on games
  • GRASS GIS , a free open source geographic information system
  • Google Drive , desktop client application for Google's cloud-based storage system.

literature

Web links

Individual evidence

  1. PlayOnLinux in the English language Wikipedia
  2. Mac gaming in the English language Wikipedia
  3. Open source components and licenses . Google. Retrieved April 4, 2013.