Real Python Logo

Episode 19: Advanced Python Import Techniques and Managing Users in Django

The Real Python Podcast

Jul 24, 2020 51m

Would you like to clearly understand what’s happening when you use the Python import keyword? Do you want to use modules more effectively to structure your code? Or maybe you’re ready to move to the next level with your Django project by adding user management. This week on the show, David Amos is back with another batch of PyCoder’s Weekly articles and projects.

We discuss a Real Python article about advanced techniques and tips for using the Python import keyword. David also talks about another recent article on the site about managing users in Django. We cover several other articles and projects from the Python community including: robot programming in Python, f-strings vs .format(), the rise of Python malware, a hardware Python keyboard, and more.

Topics:

  • 00:00:00 – Introduction
  • 00:01:31 – The Non-Return of the Python print statement
  • 00:05:46 – Python Malware on the Rise
  • 00:13:46 – Get Started With Django Part 2: Django User Management
  • 00:19:01 – Why Do People Use .format() When f-Strings Exist?
  • 00:27:41 – Video Course Spotlight
  • 00:28:45 – A Beginner’s Guide to Robot Programming With Python
  • 00:36:17 – Python import: Advanced Techniques and Tips
  • 00:40:56 – toolz: A Functional Standard Library for Python
  • 00:46:43 – python-keyboard: A Hand-Wired USB & BLE Keyboard Powered by Python
  • 00:51:09 – Thanks and Goodbye

Show Links:

The (Non-)Return of the Python Print Statement – Guido van Rossum recently proposed re-introducing the Python print statement. He was completely serious and even though the idea didn’t gain traction, it’s interesting to know why he made the proposal.

Python Malware on the Rise – Python’s low barrier to entry, enormous ecosystem, and rapid development process has made it one of he most desired programming languages for millions of developers around he globe—including malicious actors. Read the article at the link above and follow the discussion on Hacker News.

Get Started With Django Part 2: Django User Management – In this step-by-step tutorial, you’ll learn how to extend your Django application with a user management system, complete with email sending and third-party authentication.

Why Do People Use .format() When f-Strings Exist? – f-Strings aren’t exactly a drop-in replacement for .format().

A Beginner’s Guide to Robot Programming With Python – Get a crash course in programming autonomous robots with Python. Don’t have a robot laying around? No problem! Use this open-source simulator to get started.

Python import: Advanced Techniques and Tips – The Python import system is as powerful as it is useful. In this in-depth tutorial, you’ll learn how to harness this power to improve the structure and maintainability of your code.

Projects:

Additional Links: