Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores

r/Python

members
online

Sunday Daily Thread: What's everyone working on this week?

Tuesday Daily Thread: Advanced questions
MOD

Weekly Wednesday Thread: Advanced Questions 🐍

Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.

How it Works:

  1. Ask Away: Post your advanced Python questions here.

  2. Expert Insights: Get answers from experienced developers.

  3. Resource Pool: Share or discover tutorials, articles, and tips.

Guidelines:

  • This thread is for advanced questions only. Beginner questions are welcome in our Daily Beginner Thread every Thursday.

  • Questions that are not advanced may be removed and redirected to the appropriate thread.

Recommended Resources:

Example Questions:

  1. How can you implement a custom memory allocator in Python?

  2. What are the best practices for optimizing Cython code for heavy numerical computations?

  3. How do you set up a multi-threaded architecture using Python's Global Interpreter Lock (GIL)?

  4. Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?

  5. How would you go about implementing a distributed task queue using Celery and RabbitMQ?

  6. What are some advanced use-cases for Python's decorators?

  7. How can you achieve real-time data streaming in Python with WebSockets?

  8. What are the performance implications of using native Python data structures vs NumPy arrays for large-scale data?

  9. Best practices for securing a Flask (or similar) REST API with OAuth 2.0?

  10. What are the best practices for using Python in a microservices architecture? (..and more generally, should I even use microservices?)

Let's deepen our Python knowledge together. Happy coding! 🌟


Dive into DevOps ebook Humble Bundle supporting the Python Software Foundation Dive into DevOps ebook Humble Bundle supporting the Python Software Foundation
Resource

https://www.humblebundle.com/books/dive-into-dev-ops-no-starch-books

Be sure to click on "Adjust Donation" and "Custom Amount" and then max out the amount going to the Python Software Foundation. (From $1.75 to $24.50!)

For $30 you get the following ebooks from No Starch Press:

978-1718501928   2021   Automate the Boring Stuff with Python, 2nd Edition
978-1593275891   2014   DevOps for the Desperate
978-1593278632   2018   How Linux Works, 3rd Edition
978-1593271411   2007   The Book of Kubernetes
978-1593274764   2013   PowerShell for Sysadmins
978-1593278922   2018   Practical Vulnerability Management
978-1593272036   2010   Practical SQL, 2nd Edition
978-1593275099   2013   Practical Linux Forensics
978-1718500884   2021   Eloquent JavaScript, 3rd Edition
978-1718503007   2023   Cybersecurity for Small Networks
978-1593279943   2020   The Linux Command Line, 2nd Edition
978-1593279523   2019   Web Security for Developers
978-1718501485   2022   MySQL Crash Course
978-1593279929   2019   Designing Secure Software
978-1593279509   2018   Network Programming with Go
978-1718501966   2021   Practice of Network Security Monitoring
978-1718501065   2022   Network Flow Analysis
978-1593279882   2020   Absolute FreeBSD, 3rd Edition
978-1593279189   2020   Absolute OpenBSD, 2nd Edition
978-1718502642   2022   Linux Firewalls
978-1718500402   2021   Pentesting Azure Applications
978-1718502482   2022   The Book of PF, 3rd Edition