Beiträge mit #wxPython
#wxPython
Öffentliche Beiträge auf X, die #wxPython verwenden.
Verwandte Hashtags


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
#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
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

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
@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
1228
@driscollisYou can get Python 101 free in this bundle which includes books by other great #Python indie authors such as @learn_byexample @mathsppblog and @tw_lgiordani !125

@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:112
@driscollis101
We are 5 days into #30DaysOfPython ! There are 25 more days of #Python to go. Let's review where we are (a thread 🧵👇)1614
@driscollisOn the 3rd day of #30DaysOfPython you learned how to work with files in #Python in a video tutorial101
@driscollisOn the 4th day of #30DaysOfPython , you learned how to create a cross-platform text search GUI with #Python and #wxPython100
@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:1216
It's funny how many of my old #wxPython code tutorials are still helpful, even when some are 10+ years old!30285.1K
@driscollis127
@driscollisThe story of my first #Python book begins with my blog @mousevspython I first started blogging about Python because I was learning Python at the time and didn't want to forget what I was learning!105
@driscollisAmazingly, people started reading the blog, and then they started telling me that I should write a book. I think it was mostly people from the #wxPython community wanting a new book on wxPython101
@driscollis#wxPython supports absolute positioning of its widgets (i.e. specifying exact locations in pixels) as well as using relative positioning using Sizers. Sizers are the preferred method and it's much more flexible. Here's an example using three buttons in a `wx.BoxSizer`103- Mehr Beiträge anzeigen

















