Flask Build a blog platform with Flask: writing and showing posts Part 1 of this series to guide you through building a blog using Flask and Python! In this post you'll learn how to start your Flask app, set up a database, and create posts.
Learn Python Programming Working with Python virtual environments: the complete guide Working with dependencies is a fact of life. With this post, learn about dependency management in Python using virtual environments!
Learn Python Programming 30 Days Of Python 30 Days Of Python is a series that guides you through the initial stages of learning to code with Python. Totally free, with dozens of exercises and projects to complete!
Learn Python Programming Marshmallow serialization with MongoDB and Python In this blog post we'll learn how to use the marshmallow library to serialize and deserialize data coming from both users and MongoDB!
Learn Python Programming Work with dates and times in Python using datetime Dates and times are essential in programming, but they come with complications: parsing and serializing, storing in databases, and working with timezones among others. Read this post to learn more about how to work with dates and times in Python effectively!
GUI Development How to add placeholders to Tkinter Entry fields Native Tkinter Entry fields don't support placeholders. In this blog post we'll create our own custom Entry widget class that does!
GUI Development Scrollable Frames in Tkinter In this post we'll learn how to code a frame that has scrolling, in Tkinter. This is not a native widget in Tkinter so we have to do a bit of manual work!
Web Development How to interact with REST APIs from JavaScript Learn how to use JavaScript to interact with your REST APIs, using XMLHttpRequest and also fetch.
Flask Flashing messages with Flask Learn how to temporarily show messages in your websites when using Flask, by using the built-in message flashing mechanism. It's flexible yet straightforward!
Learn Python Programming How to write decorators in Python Decorators in Python can be a confusing topic, particularly for newer students. In this post we'll explain them from the ground up, including how they work, their syntax, and much more!
Learn Python Programming How to set up Visual Studio Code for Python development Visual Studio Code is an amazing editor for Python. Here are a few extensions, tips, and tricks I've learned over the years!
Flask Handling the next URL when logging in with Flask Learn how to redirect users to their intended destination after logging in, instead of a default "profile" page every time. Simple, but can have a big impact in user experience!
Flask Protecting endpoints in Flask apps by requiring login In this post we'll learn to prevent unauthorised logins to our Flask endpoints. We'll also look at decorators so that we can secure endpoints with a single line of code for each!
Flask How to add user logins to your Flask website Authentication (log in and sign up) can be tricky. In this blog post we'll guide you through adding it to a website or web app built entirely with Flask!
Learn Python Programming How to Start Learning Python Want to start learning Python? Wondering where and how to begin? We'd love to help. In fact, it's what we do!
Flask Simple JWT Authentication with Flask-JWT Adding authentication in Flask applications can be really straightforward. Learn more about token-based authentication with Flask-JWT in this post.
Learn Python Programming Introduction to unit testing with Python Testing is an essential part of software development. Start writing simple and effective tests with this blog post. It's easier than you think!
Learn Python Programming Encrypting passwords in Python with passlib The biggest problem with encryption is that we don't do enough of it. Learn how to easily secure personal data and encrypt passwords with Python and passlib.
Learn Python Programming How to interact with APIs using Python APIs allow your code to interact with other code. In this post we'll learn more about what APIs are for, and how to use them from your Python code.
Learn Python Programming Logical comparisons in Python: and & or Python's and and or keywords can be confusing for beginner programmers, but also for programmers coming from other programming languages. That's because in Python, these operators can behave differently than in other languages!
Learn Python Programming Why does scraping fail with requests and BeautifulSoup? Do you have scraping code which works in some websites but not others, even though you're sure the method you're using to get data out of the site is correct? JavaScript could be the problem!
Learn Python Programming Monthly Python Talk I've been collecting interesting Python talks, for students of all skill levels. Come back every month for a new one!
Learn Python Programming Python: how to use multiple decorators on one function Decorators are a confusing Python topic, especially when you see two or more used at once! Here's a simple explanation of what's going on.
Learn Python Programming Migrating from pip + virtualenv to Pipenv Pipenv is the new recommended packaging tool for Python. You no longer need to use pip and virtualenv separately. Learn how to migrate and simplify your development workflow!
Learn Python Programming Continuous Python Learning Learning Python after you've become knowledgeable can be difficult. Content online may be either too simple, or too specialised... What should you do?