If you saw the last Python Community Interview with Mahdi Yusuf, then you have already met one half of the Pycoder’s Weekly team. This time, I’m joined by Mahdi’s partner in crime, Mike Grouchy. Mike tells us how Pycoder’s really began and what it means to be a “hoops junkie.” We’ll also learn more about […]
Category: Django
The Best Python Books
Python is an amazing programming language. It can be applied to almost any programming task, allows for rapid development and debugging, and brings the support of what is arguably the most welcoming user community. Getting started with Python is like learning any new skill: it’s important to find a resource you connect with to guide […]
Python Virtual Environments in Five Minutes
In Python, virtual environments are used to isolate projects from each other (if they require different versions of the same library, for example). They let you install and manage packages without administrative privileges, and without conflicting with the system package manager. They also allow to quickly create an environment somewhere else with the same dependencies. […]
Python Community Interview With Mariatta Wijaya
For this week’s community interview, I am joined by Mariatta Wijaya. Mariatta is a web developer at Zapier. She also spends much of her time volunteering in the Python community: she is a core developer and contributes to conferences and Meetups. If you ever have the pleasure of meeting her, then you can join her […]
The Ultimate Guide to Django Redirects
When you build a Python web application with the Django framework, you’ll at some point have to redirect the user from one URL to another. In this guide, you’ll learn everything you need to know about HTTP redirects and how to deal with them in Django. At the end of this tutorial, you’ll: Be able […]
Documenting Python Code: A Complete Guide
Welcome to your complete guide to documenting Python code. Whether you’re documenting a small script or a large project, whether you’re a beginner or seasoned Pythonista, this guide will cover everything you need to know. We’ve broken up this tutorial into four major sections: Why Documenting Your Code Is So Important: An introduction to documentation […]
Pipenv: promises a lot, delivers very little
Pipenv is a Python packaging tool that does one thing reasonably well — application dependency management. However, it is also plagued by issues, limitations and a break-neck development process. In the past, Pipenv’s promotional material was highly misleading as to its purpose and backers. In this post, I will explore the problems with Pipenv. Was […]
Generating Random Data in Python (Guide)
How random is random? This is a weird question to ask, but it is one of paramount importance in cases where information security is concerned. Whenever you’re generating random data, strings, or numbers in Python, it’s a good idea to have at least a rough idea of how that data was generated. Here, you’ll cover […]
What Can I Do With Python?
You’ve done it: you’ve finished a course or finally made it to the end of a book that teaches you the basics of programming with Python. You’ve mastered lists, dictionaries, classes, and maybe even some object oriented concepts. So… what next? Python is a very versatile programming language, with a plethora of uses in a […]
The Ultimate List of Python YouTube Channels
We couldn’t find a good, up-to-date list of Python developer or Python programming YouTube channels online. Learning Python on YouTube is a viable option these days, and we’re excited about what this new medium can do for programming education. There are some really good YouTube channels that focus on Python development out there, but we […]
Python Application Layouts: A Reference
Python, though opinionated on syntax and style, is surprisingly flexible when it comes to structuring your applications. On the one hand, this flexibility is great: it allows different use cases to use structures that are necessary for those use cases. On the other hand, though, it can be very confusing to the new developer. The […]
Pipenv: A Guide to the New Python Packaging Tool
Pipenv is a packaging tool for Python that solves some common problems associated with the typical workflow using pip, virtualenv, and the good old requirements.txt. In addition to addressing some common issues, it consolidates and simplifies the development process to a single command line tool. This guide will go over what problems Pipenv solves and […]
4 Techniques for Testing Python Command-Line (CLI) Apps
You’ve just finished building your first Python command-line app. Or maybe your second or third. You’ve been learning Python for a while, and now you’re ready to build something bigger and more complex, but still runnable on a command-line. Or you are used to building and testing web applications or desktop apps with a GUI, […]
8 World-Class Software Companies That Use Python
There are over 500 current programming languages, with more being written every day. Admittedly, the majority of these overlap and a large number were never meant to be used outside of a theoretical or lab setting. But for the programming languages that are used in everyday coding and businesses, you have to make a choice. […]
Python + Memcached: Efficient Caching in Distributed Applications
When writing Python applications, caching is important. Using a cache to avoid recomputing data or accessing a slow database can provide you with a great performance boost. Python offers built-in possibilities for caching, from a simple dictionary to a more complete data structure such as functools.lru_cache. The latter can cache any item using a Least-Recently […]