Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.9K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
I used Python to turn my guitar into a computer keyboard... and wrote "hello world" using it.

This is a small Python application that converts MIDI messages into computer keystrokes. It's completely pointless but fun!

It uses two libraries: mido for reading MIDI messages, and keyboard for performing the keystrokes.

Here's a video I made demonstrating it in action: [https://www.youtube.com/watch?v=4rbp83fJTkg](https://www.youtube.com/watch?v=4rbp83fJTkg)

I've only tested that this works on Windows...

I used LoopMIDI to create virtual MIDI ports, and a VST plugin called Migic to convert the audio signal from my guitar into MIDI messages. These messages are then routed to LoopMIDI, which pipes the messages to this application.

The source is available here: [https://github.com/theartofsoftware/guitar-midi-computer-keyboard](https://github.com/theartofsoftware/guitar-midi-computer-keyboard)

/r/Python
https://redd.it/hn39jt
All You Need to Know about WSGI

Hi!

Here is a [screencast](https://www.youtube.com/watch?v=UklcIDgHtwQ) \- Titled All You Need to Know about WSGI. It is my informal way of explaining what is WSGI. This screencast used to be paid, but I will release all PRO lessons for free, since I am busy with my main project - [Papermerge](https://www.papermerge.com) (<- Django based free and open source document management system).

Thank you Django community for fantastic support, I really love Python, Django and your community in general!

/r/django
https://redd.it/il2qfw
🌐 Join the Ultimate Tech Extravaganza at Global DevSlam 2023! 🚀



Hey fellow tech enthusiasts!

Exciting news! Get ready to immerse yourself in a whirlwind of tech innovation, knowledge-sharing, and networking at **Global DevSlam 2023**. 🌟

🗓️ 16 - 20 October 2023

📍 Dubai World Trade Center

🚀 **What's in Store:**

\- Over 100 sessions covering Python, Java, DevOps, Data Science, Cloud Kubernetes, ML, and more!

\- Fascinating hackathons to challenge your skills and creativity.

\- Hands-on workshops to hone your coding prowess.

\- Connect with like-minded developers, experts, and influencers.

\- Explore career opportunities and discover your next big move.

🎟️ **Early Bird Alert:** Secure your spot by August 31 to enjoy the special rate of AED 500. Prices increase by AED 200 afterward. Don't miss out on this deal! 🎉

🔗 **Registration Link:** https://visit.gitex.com/Event/GlobalDevSlam/Visitor/Registration/Demographics?utm\_source=reddit&utm\_medium=sp-kanza&utm\_campaign=globaldevslam&utm\_content=digital

🔥 **Why Attend:**

\- Gain insights from industry leaders and tech pioneers.

\- Upgrade your skills with hands-on workshops.

\- Network and collaborate with a global tech community.

\- Stay ahead of the curve with the latest trends.

Ready to turn your tech dreams into reality? This is your chance! Join us at Global DevSlam 2023 and be part of a tech revolution.

See you there! 🚀 #GlobalDevSlam #DWTC #GITEXGlobal #pythondeveloper #datastructure #appdeveloper #javaprogramming #developerlife #programminglanguage #pythonprogramming #programmers #coder #programming #html #css #developer #javascript #coderlife #computerscience #softwaredevelopment #frontend #womenwhocode #womenintech #symfony #codinggirl

/r/Python
https://redd.it/15rjqye
MongoDb Aggregation Tutorial for complex Mongodb Queries

🚀 Calling all developers! 🚀
I have created this amazing Tutorial on MongoDb Aggregation ( link ) for writing complex queries. Do have a look on it and all feedbacks are appreciated. Like, share, and subscribe for more coding excellence! 🌐💻 #MongoDB #Aggregation #WittyCoder #CodeMasters #Programming #TechTalks #LearnToCode #HappyCoding 🔥

/r/Python
https://redd.it/1b5o4sa
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