Sign in:

read us on


Python Community Interview With Emily Morehouse

Emily Morehouse is one of the newest additions to the CPython core developer team, and the founder and director of engineering of Cuttlesoft. In this interview, we talk about the recent CPython core developer sprint and the fact that she completed three majors in college at the same time!


Python 101: Episode #35 – The virtualenv Package

In this screencast, we will learn about creating Python virtual environments using the popular virtualenv package. You can also read the chapter this video is based on here or get the book on Leanpub Previous Episodes Python 101: Episode #34 – The SQLAlchemy Package Python 101 – Episode #33: The requests Package Python 101: Episode #32 – Static Code Analysis


Continuous Integration with Python: An Introduction

In this Python tutorial, you'll learn the core concepts behind Continuous Integration (CI) and why they are essential for modern software engineering teams. Find out how to how set up Continuous Integration for your Python project to automatically create environments, install dependencies, and run tests.

PyDev of the Week: Reimar Bauer

This week we welcome Reimar Bauer (@ReimarBauer) as our PyDev of the Week! Reimar is a core developer of the popular Python wiki package, MoinMoin. He has spoken at PyCON DE, FOSDEM and EuroPython about Python. Let’s take a few minutes to get to know him better! Can you tell us a little about yourself (hobbies, education, etc): I am a programmer from Jülich, Germany. That‘s a small town between Aachen and Cologne. I work at the Forschungszentrum Jülich GmbH. Employees research in the fields of energy and the environment, information and brain research with the aim of providing society with options for action facilitating sustainable development. My work is related to atmospheric science. copyright: Forschungszentrum Jülich GmbH I wrote a few books in the past years about data structures and about IDL, one of my first science related programming languages, developed by Ray Sterner in Boulder, Colorado. In 2012 I was elected to the board of the German Python Software Verband. I helped to organize several Python Events in Germany, several PyConDE and the famous EuroPython in Berlin. I stepped down from this position and I left in 2017 because I needed and wanted to spend more time with my family. I have been a fellow of the Python Software Foundation since 2013. I used to play trombone in a Big Band, but had to take a break because I just couldn’t find the time this hobby needs. I enjoy sightseeing, hiking, sociocracy3.0, meeting a lot of different people. And sometimes I play an augmented reality game named ingress. In 2019 the 10th PythonCamp Cologne Germany, a classic barcamp, will be the next community project Reimar Bauer is involved in. Continue reading PyDev of the Week: Reimar Bauer →


Memory Management in Python

Get ready for a deep dive into the internals of Python to understand how it handles memory management. By the end of this article, you’ll know more about low-level computing, understand how Python abstracts lower-level operations, and find out about Python’s internal memory management algorithms.


Black Friday / Cyber Monday Sale 2018

This week I am putting my 2 most recent self-published books on Sale starting today through November 26th. ReportLab – PDF Processing with Python is available for $9.99: Leanpub Gumroad – Use offer code black18 JupyterLab 101 is available for $9.99: Leanpub Gumroad – Use offer code black18 You can also get my book, wxPython Recipes, from Apress for $7 for a limited time with the following coupon code: cyberweek18. Python Interviews is $10 right now too!

Всё о сортировке на Python

В Python есть встроенная функция sorted() для сортировки итерируемых объектов и метод list.sort() для сортировки списка с заменой исходного. Сегодня мы подробно рассмотрим, как они работают сейчас и как работали раньше.


Python 101: Episode #34 – The SQLAlchemy Package

In this screencast, we learn about the popular SQLAlchemy package. SQLAlchemy is an Object Relational Mapper for Python that allows you to interface with databases in a “Pythonic” manner. You can also read the chapter this video is based on here or get the book on Leanpub Note: This video was recorded a couple of years ago, so there may be some minor API changes in SQLAlchemy.


Оптимизация энергопотребления STM32: практическое руководство

Привет, Хабр! В сети довольно много статей про работу микроконтроллеров STM32 в энергоэффективных устройствах — как правило, это устройства на батарейном питании — однако среди них прискорбно мало разбирающих эту тему за пределами перечисления энергосберегающих режимов и команд SPL/HAL, их включающих (впрочем, та же претензия относится к подавляющему большинству статей про работу с STM32). Тем временем, в связи с бурным развитием умных домов и всевозможного IoT тема становится всё более актуальной — в таких системах многие компоненты имеют батарейное питание, и при этом от них ожидаются годы непрерывной работы. Восполнять данный пробел мы будем на примере STM32L1 — контроллера весьма популярного, достаточно экономичного и при этом имеющего некоторые специфические именно для этой серии проблемы. Практически всё сказанное будет также относиться к STM32L0 и STM32L4, ну и в части общих проблем и подходов — к другим контроллерам на ядрах Cortex-M. Практический результат должен выглядеть примерно так, как на фотографии выше (и да, о применимости мультиметров и других средств измерения к подобным задачам тоже поговорим).


Interactive Data Visualization in Python With Bokeh

This Python tutorial will get you up and running with Bokeh, using examples and a real-world dataset. You'll learn how to visualize your data, customize and organize your visualizations, and add interactivity.

PyDev of the Week: Mike Müller

This week we welcome Mike Müller (@pyacademy) as our PyDev of the Week. Mike is the creator of Python Academy and has been teaching Python for over 14 years. Mike has spoken at PyCon for several years and was featured on the Talk Python podcast two years ago. Let’s take a few moments to learn more about Mike! Can you tell us a little about yourself (hobbies, education, etc): I studied hydrology and water resources and earned a five-year degree from Dresden University of Technology, Germany. After that I went on studying for a MS in the same field at The University of Arizona, AZ, USA. Then I continued my studies of water resources and was awarded a Ph.D. from the University of Cottbus, Germany. I worked in this field in consulting and research for 11 years at a research institute and four years at a consulting office. In my limited spare time I do some calisthenics, i.e. bodyweight training to keep fit. Pull-ups are fun. 🙂 Continue reading PyDev of the Week: Mike Müller →


Python Community Interview With Kenneth Reitz

Kenneth is the author of the extremely popular requests and pipenv libraries. In this interview, we discuss his latest projects, Responder and PyTheory, and the most challenging code he’s written to date.


Python 101 – Episode #33: The requests Package

In this screencast, I introduce the popular requests package, which is a replacement for Python’s urllib. You can also read the chapter this video is based on here or get the book on Leanpub


Jupyter Notebook 101 Released!

My latest book, Jupyter Notebook 101 is now officially released. You can purchase it at the following retailers: Amazon (Kindle or Paperback) Leanpub (mobi, epub and PDF) on sale for $9.99 until the end of November Gumroad (mobi, epub and PDF) You can also download a sample of the book from Leanpub. Get it for $9.99  on Leanpub for a limited time only! Jupyter Notebook 101 will teach you all you need to know to create and use Notebooks effectively. You can use Jupyter Notebook to help you learn to code, create presentations, and make beautiful documentation. The Jupyter Notebook is used by the scientific community to demonstrate research in an easy-to-replicate manner. You will learn the following in Jupyter Notebook 101: How to create and edit Notebooks How to add styling, images, graphs, etc How to configure Notebooks How to export your Notebooks to other formats Notebook extensions Using Notebooks for presentations Notebook Widgets and more!

Как создать чат-бота для ВКонтакте, используя Python, Django и webhook

Зачем ещё одна статья про создание чат-бота? Возможно я плохо искал, но я не смог найти подробного руководства по созданию бота на python с применением фреймворка Django и подхода webhook, работающего на хостинге от российской компании. В большинстве материалов говориться о применении фреймворка Flask и использования бесплатных хостингов Heroku и PythonAnywhere. Опыт сообщества Хабр меня выручает, поэтому я решил в знак благодарности потратить время на написание данной статьи. Опишу полученный практический опыт, чтобы дать возможность всем кто в этом заинтересован сэкономить время и лучше понять как сделать бота на Python с применением фреймворка Django на своём хостинге, используя подход webhook.


How to Publish an Open-Source Python Package to PyPI

In this step-by-step tutorial, you’ll learn how to create a Python package for your project and how to publish it to PyPI, the Python Package Repository. Quickly get up to speed on everything from naming your package to configuring it using

PyDev of the Week: Frank Vieira

This week we welcome Frank Vieira as our PyDev of the Week. Frank is the creator of the Vibora package, a “fast, asynchronous and elegant Python web framework.” You can see what else Frank is up to over on his Github profile. Let’s take a few moments to get to know Frank better! Can you tell us a little about yourself (hobbies, education, etc): My name is Frank Vieira, I’m 25, a really skilled Dota player (lol) and passionate software developer. On my free time, I like to play some games and work on hobby projects like small games using Unity or open-source projects as Vibora. Continue reading PyDev of the Week: Frank Vieira →


Python 101: Episode #32 – Static Code Analysis

In this episode, we learn how we can use PyLine and PyFlakes to check our code for issues. Of course since this video was made, Flake8 and Python Black have become pretty popular, so you might want to check those out as well. You can also read the chapter this video is based on here or get the book on Leanpub


Python "while" Loops (Indefinite Iteration)

In this tutorial, you'll learn about indefinite iteration using the Python while loop. You’ll be able to construct basic and complex while loops, interrupt loop execution with break and continue, use the else clause with a while loop, and deal with infinite loops.


Writing Comments in Python (Guide)

Learn how to write Python comments that are clean, concise, and useful. Quickly get up to speed on what the best practices are, which types of comments it's best to avoid, and how you can practice writing cleaner comments.

PyDev of the Week: Bernat Gabor

This week we welcome Bernat Gabor (@gjbernat) as our PyDev of the Week! Bernat is a core developer of the tox automation project. You can check out his Github to see what other open source projects he is a part of. Let’s take a few moments to learn more about Bernat! Can you tell us a little about yourself (hobbies, education, etc.): I was born and raised in Transylvania, Romania. I’ve got into computer science starting with my high school studies, and there was no going back on it ever since. I’ve done my BSc studies at Sapientia – Hungarian University of Transylvania and then followed up with my master studies at Budapest University of Technology and Economics. Parallel with doing the master studies I’ve started working at Gravity R&D (a company that provides a recommendation engine under the Software-as-a-Service model), where I’ve been for almost five years. I now live in London, UK having reallocated here over two years ago and have been working ever since at Bloomberg LP. Continue reading PyDev of the Week: Bernat Gabor →


The Ultimate Programmer Super Stack Bundle

I recently had the opportunity to get my second book, Python 201: Intermediate Python added to a bundle of other interesting programming books. It is called The Ultimate Programmer Super Stack and it is is a hand-curated collection of 25+ premium ecourses, bestselling ebooks, and bonus resources that will help new programmers:   Learn a wide range of today’s most popular (and lucrative) languages and frameworks, including everything from Python, JavaScript, and Ruby, to HTML, CSS, and Kotlin, and more… Discover how to build APIs, websites, and iOS and Android applications from scratch Uncover the ‘Business of Software’ (how computer programs work, how computer programmers think, and how to start your very own computer programming business) Master the soft skills you need to become ‘Coder Complete’ (this stuff will have a huge impact on your career, believe me)   And much more. Here are just a few highlights that you’ll find inside the Stack: “Python Tricks: A Buffet of Awesome Python Features” by Dan Bader (retail value: $29.00). Dan is the founder of, where his articles, videos, and trainings have reached over one million developers around the world. This is one of his bestselling books a great place to start whether you’re brand new to Python, or looking to master the craft and become a certified Pythonista. “Build APIs You Won’t Hate” by Phil Sturgeon (retail value: $26.99). Phil is an API designer and systems architect, currently helping WeWorK to scale their APIs to handle more traffic, be more resistant to change, and not fall like dominoes when one of them has a bad time. Phil is regarded as one of the leading experts on API’s, and this book is like a deep dive into his brain. “The Top 1% Developer – iOS Edition” by Grant Klimaytys (retail value: $197.00). Grant is the founder of Learn App Development, where he’s coached over 120,000 students worldwide on how to become professional app developers. Inside this premium course, you will learn how to code for iPhone from scratch, understand the basics of software creation (applicable to any language), and even create your own apps to start earning passive income on the App Store (winner winner, chicken dinner!)  Check it out here


Adding Okta Authentication to an Existing Flask Web App

It can be a lot of work to piece together a full authentication system if you have an existing Flask web application that you are coding. Okta makes it much easier to drop-in a complete user authentication system without a lot of additional effort. In this tutorial we... (read more)