Copy

Hey Pythonista,
 

I liked what Julia Evans wrote on her blog last week: "... learn how the systems you’re using work! This is the main way I approach getting better at programming." (thanks AJ for sharing!)
 

This was a great reminder after getting stuck pretty badly on two issues:

1. Using Flask-SQLAlchemy outside of Flask (a no go!)

2. A mysterious bug in Django's password reset functionality if you use a OneToOne User > Profile table to store the email.
 

In both instances debugging was paramount, but equally important was to step back and evaluate how the system worked to fix the issue.
 

So this week just a reminder, when you get badly stuck, pause and reflect and see if you understand the system / bigger picture.

It can save you a lot of time and frustration!


- Bob

P.S.: A great way to get unstuck is to talk to someone about it! Join our Slack Community and connect with other Pythonistas and share when you get stuck! https://pybit.es/community (It's much nicer than "Rubber duck debugging")

Copyright © 2021 PyBites, All rights reserved.