Posty z #wxPython
#wxPython
Publiczne posty w X, które używają #wxPython.
Powiązane hashtagi



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

@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
What can you do with #Python? - Create websites with @djangoproject #Flask, @fastapi, and more - Computer vision (learn more from @PyImageSearch ) - Make a mobile app with @PyBeeWare or @kivyframework See more below 👇2214
@driscollisYou can create awesome PDF reports with @reportlab or #WeasyPrint I wrote a book on this topic:103
@driscollis113
1228
0329
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

@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
#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
- Pokaż więcej postów














