Avoiding Silent Failures in Python: Best Practices for Error Handling

In the world of programming, errors are inevitable. But how we choose to handle these errors can make the difference between a system that is robust and user-friendly and one that is fraught with ambiguous issues 😱 The Zen of Python famously states, “Errors should never pass silently.” This principle emphasizes the importance of addressing… Continue reading Avoiding Silent Failures in Python: Best Practices for Error Handling

Software Engineering and Entrepreneurship

Listen here: This week we talk with Yujian, software developer and entrepreneur. We dive into: – His background. – Why he uses Python and the switch from Java. – His core Python focus these days + cool side projects he’s maintaining. – How entrepreneurship is fundamentally different from software engineering. – His viral post on certificates vs the reality of looking things up… Continue reading Software Engineering and Entrepreneurship

Building a Python Tips API with Django REST Framework and Deploying it to Digital Ocean

In this article I will show you how to build a simple API for our growing collection of Python tips. First we make a simple Django app, defining the model. Next we use Django REST Framework to make an API supporting common CRUD operations. Then we will test it out using curl, Postman and Django REST’s browser front-end. Lastly we deploy the API to Digital Ocean so we can start using it via our Slack with a Slash Command, which I will cover in the next article. Sounds exciting? You bet it is! Let’s jump straight in!