Posts with #wxpython
#wxpython
Public posts on X that use #wxpython.
Related hashtags


The #wxPython GUI framework includes widgets that let you create cross-platform video players. The following examples uses a hard-coded path to an MP4 file, but with a little work, you can add a menu and some buttons to control the application! 🐍🔥21255
Did you know you #wxPython has a plotting widget built-in? This allows you to create plots in your Python GUI without additional dependencies. Note: wxPython also supports embedding matplotlib plots too!11651


@__mharrison__@__mharrison__ This reminds me of the time someone went to the effort of stealing my #wxPython book and creating a brand new cover and a slightly altered intro... I'm still somewhat impressed by the cover2217
2460
#Python includes another tool that is kind of like a lambda called partials. You can use partials by importing them from `functools`: 🧵🐍👇32818736.9K
@driscollisIf you happen to be a #wxPython user, you might run into situations where you want to pass along some data to a callback (i.e. when a widget fires an event) You can do that with partial too:35215.3K
@driscollisCreating a plot with #wxPython doesn't take a TON of code, but most GUI frameworks do require a LOT more code than simple scripts. Here is a pretty stripped down plotting example:1321
@driscollis127



0329
I get lots of questions about my #Python books and how they get made. So let's talk about that today! 🧵🐍👇1936
@driscollisAfter my unscientific survey, my second book, Python 201: Intermediate Python came out Python 201 is a neat book. A lot of it is also on my blog as articles104
It's day #10 of my #30DaysOfPython! It's also a Friday, which means that it's video tutorial day: Learn how to create a cross-platform wizard with #Python and #wxPython016
1228
@driscollisWhen you write #wxPython code, you normally subclass `wx.Frame` and `wx.Panel` separately. The Panel is used as the parent for most or all of the widgets The Frame is the parent of the panel (and the statusbar, if you have one)103- Show more posts
















