Topic Archive

Learning

  • The missing 66% of your skillset

    ·

    ·

    2 min read

    Bob and I have spent many years as Python devs, and 6 years coaching with Pybites and we can safely say that being a Senior Developer is only about 1/3 Python knowledge. The other 60% is the ecosystem. It’s the tooling. It’s all of the tech around Python that makes you stand out from the rest. This is the biggest blind spot keeping developers stuck in Tutorial Hell. You spend hours memorising obscure library features, but you crumble when asked to configure a CI/CD pipeline. (That’s not just made up by the way – many of you in dev roles will have seen…


  • SQLModel is a library that lets you interact with databases through Python code with Python objects and type annotations instead of writing direct SQL queries. Created by the same author of the extremely popular framework FastAPI, it aims to make interacting with SQL DBs in Python easier and elegant, with data validation and IDE support, without the need to learn SQL. It’s an ORM (Object-Relational Mapper), meaning: it translates between classes/objects and SQL. In this article, I will cover why you would use SQLModel over plain SQL queries, what benefits it brings to the table and the basics of using…


  • The Problem I have for as long as I can remember had a bit of a problem with analysis paralysis and tunnel vision. If I’m working on a problem and get stuck, I have a tendency to just sit there paging through code trying to understand where to go next. It’s a very unproductive habit and one I’m committed to breaking, because the last thing you want is to lose hours of wall clock time with no progress on your work. I was talking to my boss about this a few weeks back when I had a crazy idea: “Hey…


  • Welcome to Hell Cue the theme song from The Fresh Prince of Bel Air. This is a story that turns out well. But my code got stuck in import hell. I tried to teach my students all about pytest. Instead, for two days, I was sent on a debugging quest. I teach middle school students how to code in python. I reckoned it was time to talk about the datetime module. Students generally love projects that they can connect back to themselves. So I thought a great way to introduce datetime was to have python calculate how many days the…


  • Introduction I recently re-engaged with one of my open source projects and it was a rewarding experience. 🎉 It was a Pybites project I had written the core for years ago, but thanks to some amazing Pythonistas in our community it became a way more mature tool so I had to get acquainted again. I was resolving an issue that had been causing some disturbance in our community, hence fixing it was quite satisfying. Contributing to open source is amazing, and with the amount of projects out there your contributions are necessary. It’s also one of the best way to…


  • Diving into Programming with Python I’ve spent years entertaining the thought of becoming a software developer, only to get overwhelmed by the vast array (pun intended) of programming languages to choose from. Which one should I choose, where do I begin? Java? JavaScript? C? C++? C#? Ruby? Django? Flask? Woah… wait a minute? Understanding Frameworks vs. Languages The good news is, They’re not all programming languages. For instance, Django and Flask are both Web Frameworks built on Python, specifically used for Web Development in Python. Python is a programming language.  No need to feel awkward if you didn’t already know…


  • If you give a man a fish, you feed him for a day. If you teach a man to fish, you feed him for a lifetime. Chinese proverb Transformative power of guidance 10 years ago I was overweight, maybe not more than +12 kg, but it definitely had a bearing on the quality of my life and (!) future health perspective. Back then I thought I ate reasonably healthy and did my daily walk (the World Health Organization (WHO) recommends you “do at least 150–300 minutes of moderate-intensity aerobic physical activity”, I definitely did that). Now I know: I simply…


  • 🎯 Ready to level up your Python skills? 🐍 Stop tutorial paralysis and start implementing 🔥 Here are 10 reasons coding on our platform (CodeChalleng.es) is so effective for (aspiring) Python programmers. 1️⃣ Real World Problems 💪 PyBites allows you to learn Python by solving real world problems, not just tutorial toy examples. This fosters active learning and helps you retain language features. 2️⃣ Deep Understanding 💡 From aspiring web developers to data scientists, our platform offers a wide variety of 400 bite-sized exercises to help you gain fluency in Python. Exercises range from core Python to FastAPI, data analysis…


  • I recently finished my time in the PDM program with Bob as my coach. This post focuses on how I made a back-end read-only database using FastAPI and a front-end using Streamlit along with the challenges that came with the whole project. Project Idea and initial planning This wasn’t my first attempt. I tried making this app with Django a year and a half ago, which I let languish in my private Github repo. My app idea was to make a game information wiki for Dragon Warrior Monsters, a Gameboy Color game that was released in Japan in 1998 as…