I made a guide on how to debug python using ipdb
I tried to make it as straight to the point as possible. Let me know what you think and if there’s another useful python package you’d like me to check out.
https://youtu.be/EnC9ciDkXqA?si=T-Gm3KfFr-OIgCLN
/r/Python
https://redd.it/1gdwo2h
I tried to make it as straight to the point as possible. Let me know what you think and if there’s another useful python package you’d like me to check out.
https://youtu.be/EnC9ciDkXqA?si=T-Gm3KfFr-OIgCLN
/r/Python
https://redd.it/1gdwo2h
YouTube
How to use ipdb the interactive python debugger
Let's talk about how to debug python without a load of pesky print statements and instead use ipdb - the interactive python debugger.
#programming #python #ipdb #debugger #debugging #coding
Check out the ipdb github here: https://github.com/gotcha/ipdb…
#programming #python #ipdb #debugger #debugging #coding
Check out the ipdb github here: https://github.com/gotcha/ipdb…
Mopad: Gamepad support for Python is finally here!
What my project does:
Browsers have a gamepad API these days, but these weren't exposed to Python notebooks yet. Thanks to mopad, you can now use a widget (made with anywidget!) to control Python with a game controller. It's more useful that you might initially think because this also means that you can build labelling interfaces in your notebook and add labels to data with a device that makes everything feel like a fun video game.
Target audience:
It's mainly meant for ML/AI people that like to work with Python notebooks. The main target for the widget is marimo but because it's made with anywidget it should also work in Jupyter/VSCode/colab.
Comparison:
I'm not aware of other projects that add gamepad support, but one downside that's fair to mention is that this approach only works in browser based notebook because we need the web API. Not all gamepads are supported by all vendors (MacOS only allows for bluetooth gamepads AFAIK), but I've tried a bunch of pads and they all work great!
If you're keen to see a demo, check the YT video here: https://www.youtube.com/watch?v=4fXLB5\_F2rg&ab\_channel=marimo
If you have a gamepad in your hand, you can also try it out on
/r/Python
https://redd.it/1l269h7
What my project does:
Browsers have a gamepad API these days, but these weren't exposed to Python notebooks yet. Thanks to mopad, you can now use a widget (made with anywidget!) to control Python with a game controller. It's more useful that you might initially think because this also means that you can build labelling interfaces in your notebook and add labels to data with a device that makes everything feel like a fun video game.
Target audience:
It's mainly meant for ML/AI people that like to work with Python notebooks. The main target for the widget is marimo but because it's made with anywidget it should also work in Jupyter/VSCode/colab.
Comparison:
I'm not aware of other projects that add gamepad support, but one downside that's fair to mention is that this approach only works in browser based notebook because we need the web API. Not all gamepads are supported by all vendors (MacOS only allows for bluetooth gamepads AFAIK), but I've tried a bunch of pads and they all work great!
If you're keen to see a demo, check the YT video here: https://www.youtube.com/watch?v=4fXLB5\_F2rg&ab\_channel=marimo
If you have a gamepad in your hand, you can also try it out on
/r/Python
https://redd.it/1l269h7