{"id":425,"date":"2015-03-24T19:22:28","date_gmt":"2015-03-24T19:22:28","guid":{"rendered":"http:\/\/ahay.org\/blog\/?p=425"},"modified":"2015-08-05T18:47:23","modified_gmt":"2015-08-05T18:47:23","slug":"wxpython","status":"publish","type":"post","link":"https:\/\/ahay.org\/blog\/2015\/03\/24\/wxpython\/","title":{"rendered":"wxPython"},"content":{"rendered":"<p>There are many different libraries for GUI (graphical user interfaces), many of them with Python bindings: <a href=\"http:\/\/www.pygtk.org\/\">PyGTK<\/a>, <a href=\"http:\/\/www.riverbankcomputing.com\/software\/pyqt\/intro\">PyQt<\/a>, <a href=\"http:\/\/qt-project.org\/wiki\/PySide\">PySide<\/a>, etc. <a href=\"https:\/\/wiki.python.org\/moin\/TkInter\">Tkinter<\/a> is one of the oldest Python GUI libraries and is considered to be the standard one. Another popular choice is <a href=\"http:\/\/www.wxpython.org\/\">wxPython<\/a>, a Python interface for wxWidgets C++ library. <\/p>\n<p><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/2015\/08\/wxvpconvert.png\" alt=\"\" title=\"\" \/> <\/p>\n<p>A quick example of wxPython is provided in <a href=\"https:\/\/github.com\/ahay\/src\/blob\/master\/pens\/scripts\/wxvpconvert.py\">wxvpconvert<\/a>, a silly GUI for Madagascar&#8217;s <strong>vpconvert<\/strong> script. Compare with <a href=\"\/blog\/2012\/01\/19\/tkvpconvert\/\">tkvpconvert<\/a>. <\/p>\n<p>See also:<\/p>\n<ul>\n<li><a href=\"\/blog\/2010\/07\/19\/is-there-a-graphical-user-interface-to-madagascar\/\">Is there a Graphical User Interface to Madagascar?<\/a><\/li>\n<li><a href=\"\/blog\/2014\/07\/10\/madagascar-in-the-cloud\/\">Madagascar in the cloud<\/a><\/li>\n<li><a href=\"\/blog\/2014\/10\/22\/tutorial-on-parameter-testing\/\">Tutorial on parameter testing<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>There are many different libraries for GUI (graphical user interfaces), many of them with Python bindings: PyGTK, PyQt, PySide, etc. Tkinter is one of the oldest Python GUI libraries and is considered to be the standard one. Another popular choice is wxPython, a Python interface for wxWidgets C++ library. A quick example of wxPython is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","activitypub_content_warning":"","activitypub_content_visibility":"local","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-425","post","type-post","status-publish","format-standard","hentry","category-programs"],"_links":{"self":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/comments?post=425"}],"version-history":[{"count":3,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/425\/revisions"}],"predecessor-version":[{"id":1227,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/425\/revisions\/1227"}],"wp:attachment":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/media?parent=425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/categories?post=425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/tags?post=425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}