We are excited to announce that we’ve extended our Newbie Bites from 25 to 50 Python exercises! π The importance of exercising when learning how to code π‘ Weβre passionate about this new batch of exercises because they require active engagement, which is crucial for learning how to code. Passive methods like reading books or… Continue reading Learn Python From Scratch: We Extended Our Newbie Bite Exercises From 25 to 50 π π
Articles on platform
Why Start Your Programming Journey With Python?
By Sherry Andrews Bhutia on 19 September 2023
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… Continue reading Why Start Your Programming Journey With Python?
Make Each Line Count, Keeping Things Simple in Python
By Bob Belderbos on 24 August 2023
A challenge in software development is to keep things simple π€― For your code to not grow overly complex over time π± Simple is better than complex.Complex is better than complicated. Zen of Python π Simplicity in your code means fewer possibilities for bugs to hide and easier debugging when they do arise π It… Continue reading Make Each Line Count, Keeping Things Simple in Python
Testing membership and empty strings
By J. Ryan Hall on 20 January 2023
I was working on one of the exercises on the Pybites platform (Bite 29) and encountered a situation I didnβt understand. I needed to check a set of inputs to see if they were alphanumeric or not as part of the solution to the exercise. I succeeded in all but one test, but I couldnβt… Continue reading Testing membership and empty strings
Pybites turns 6 today – 10 highlights + lessons learned
By PyBites Team on 19 December 2022
Today Pybites turns 6 yearsΒ ππ We could never have envisioned that our end-of-2016 “Python blog side project” would grow out into a fully fledged business serving thousands of people worldwide! Here are 10 highlights / lessons learned from our journey so far: 1. Don’t procrastinate, implement We had been chatting for many years about ideas… Continue reading Pybites turns 6 today – 10 highlights + lessons learned
New on our platform: Typer learning path
By PyBites Team on 7 November 2022
It’s finally here … our new Typer learning path! Where? On our CodeChalleng.es platform, check it out here: Typer is an amazing library for building Command Line Interfaces (CLIs). Leveraging Python type hints you can build great command line apps with relatively little code. In this learning path we’ll have you practice the main features… Continue reading New on our platform: Typer learning path
How to make a nice graph using Django and Chart.js
By Bob Belderbos on 14 June 2022
In this article I will show you how to make a beautiful yet simple graph using Django + Chart.js. The code for this project is here. Getting the data We are going to plot the number of Bite exercises that get completed per month on our platform. For this I exported the live data from… Continue reading How to make a nice graph using Django and Chart.js
Learn FastAPI through building a simple food tracker
By PyBites Team on 12 May 2022
If you’re doing any type of web development in Python, there’s a good chance you’ve heard about FastAPI by now. If not, go check it out now. It’s performant, intuitive and time saving (thanks to Pydantic / type hinting) and it supports API standards, e.g. OpenAPI (previously Swagger). You cannot leave this powerful framework out of your… Continue reading Learn FastAPI through building a simple food tracker
5 Helpful Python Decorator Use Cases
By Bob Belderbos on 3 August 2021
Some time ago I asked on Twitter: I was curious what you use #Python decorators for? And I got quite an amazing / insightful response: The obvious next step for me was to look at some examples / use cases. So below are 5 useful applications of decorators. Study them, then apply similar things to… Continue reading 5 Helpful Python Decorator Use Cases
Are You Working on Your Mindset as Much as Your Technical Skills?
By Bob Belderbos on 6 March 2021
In this post we share our favourite lessons from basketball coach Wooden: enjoy the game (more than the result), many small improvements compound over time, your actions reveal your character, stay humble, and keep emotion and ego in check.