Post con #wxPython

#wxPython

Post pubblici su X che usano #wxPython.

Hashtag correlati

  1. Mike Driscoll✓@driscollis
    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! 🐍🔥
    Scarica
    21255
  2. Mike Driscoll✓@driscollis
    #Python includes another tool that is kind of like a lambda called partials. You can use partials by importing them from `functools`: 🧵🐍👇
    Scarica
    32818736.9K
  3. Mike Driscoll✓@driscollis
    @driscollis
    The #Python documentation for `functools.partial` has another good example:
    Scarica
    10274.1K
  4. Mike Driscoll✓@driscollis
    @driscollis
    If 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:
    Scarica
    35215.3K
  5. Mike Driscoll✓@driscollis
    #wxPython is a nice cross-platform GUI framework for the #Python programming language! Let's learn a little about wxPython in this mini-thread! 🧵🐍👇
    42686
  6. Mike Driscoll✓@driscollis
    @driscollis
    When 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)
    Scarica
    103
  7. Mike Driscoll✓@driscollis
    Today I wanted to talk about creating GUIs with #Python and #wxPython in a thread! 🧵🐍👇
    1228
  8. Mike Driscoll✓@driscollis
    Have you ever needed to create a configuration wizard or other type of wizard in a #Python GUI? 🐍🔥 The #wxPython GUI framework comes with a set of widgets built-in for this use-case. Check out my YouTube video to learn more:
    4131
  9. Mike Driscoll✓@driscollis
    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!
    Scarica
    11651
  10. Mike Driscoll✓@driscollis
    Learn how to create a GUI with a tabbed interface in this tutorial about #Python and #wxPython
    2460
  11. Mike Driscoll✓@driscollis
    @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`
    Scarica
    103
  12. Mike Driscoll✓@driscollis
    I wrote a book about creating GUIs with #Python a couple of years ago. In it, I created a SQLite database viewer application with #wxPython in under 100 lines of code 🧵🐍👇
    Scarica
    567438
  13. Mike Driscoll✓@driscollis
    #Python has many different GUI Toolkits. In this mini-thread, I'm going to show you how to write a "simple" plot with #wxPython 🧵🐍👇
    11660
  14. Matt Harrison✓@__mharrison__
    Sad that people take content and don't give credit... 😢
    Scarica
    2638469
  15. Mike Driscoll✓@driscollis
    @__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 cover
    Scarica
    2217
  16. porizou@porizou1
    ウィンドウにcsvファイルをドラック&ドロップしてグラフ化するGUIアプリ作った #wxPython
    Scarica
    319117
  17. Mike Driscoll✓@driscollis
    @driscollis
    The #wxPython demo is also really cool. It lets you try out most of wxPython's widgets AND see the code used to create them. The demo also lets you edit the code and see how it changes the demo live. I wrote about the wxPython demo here:
    105
  18. Mike Driscoll✓@driscollis
    @driscollis
    Here is a minimal "Hello World" type example using #wxPython in 5 lines of code:
    Scarica
    105
  19. Mike Driscoll✓@driscollis
    #Python has many different GUI Toolkits. In this mini-thread, I'm going to show you how to write a "simple" plot with #wxPython 🧵🐍👇
    31355
  20. Mike Driscoll✓@driscollis
    @driscollis
    Creating 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:
    Scarica
    1321
  21. Mike Driscoll✓@driscollis
    #Python has many different GUI Toolkits. In this mini-thread, I'm going to show you how to write a "simple" plot with #wxPython 🧵🐍👇
    1214
  22. Mike Driscoll✓@driscollis
    @driscollis
    Creating 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:
    Scarica
    112
  23. Mostra altri post