Matthew Wright: Unit testing Python code in Jupyter notebooks
It is possible to unit test Python code that lives in a Jupyter notebook. This article looks at three reasonable choices.The post Unit testing Python code in Jupyter notebooks appeared first on...
View Article"CodersLegacy": Improving Performance in Pygame – Speed up your Game
While Pygame may be lacking features and optimization when compared to actual game development frameworks, low performance in it is not often it’s fault. If your simple 2D game is having performance...
View ArticlePython Pool: 5 Techniques to Use List pop() Method in Python
IntroductionIn Python, we have lists, which are used to store items of different data types in an ordered sequence. There are many ways to delete an element from the list such as pop, remove, etc. In...
View ArticleMike Driscoll: Python 201: The functools Module (Video)
I recently did a talk on Python’s neat functools module. This screencast covers the majority of the module:Caching cachelru_cachetotal_orderingpartialreducesingledispatchwraps Related ReadingMouse Vs...
View ArticleReal Python: Records and Sets: Selecting the Ideal Data Structure
There are a variety of ways for storing and managing data in your program and the choice of the right data structure has an effect on the readability of your code, ease of writing, and performance....
View Articledeath and gravity: Dataclasses without type annotations
The dataclasses standard library module reduces the boilerplate of writing classes by generating special methods like __init__ and __repr__.I've noticed a small (but vocal) minority of people...
View ArticleReuven Lerner: One year of “Python for non-programmers”
In the spring of last year, as the coronavirus pandemic began, it was pretty clear that this would be the major event of our lives, and that a lot of people were going to be affected in big, terrible...
View ArticlePyCharm: Python Web Conference. Day 1 Recap
Today was the first Python Web Conference day, the tutorial day, with 5 simultaneous presentations. Thanks to the event platform (Loudswarm) and the organizers, we are able to watch recordings almost...
View ArticlePyCoder’s Weekly: Issue #465 (March 23, 2021)
#465 – MARCH 23, 2021View in Browser »Python Testing Style Guide Need a quick yet thorough guide to testing? This excellent resource is for you.STARGIRL FLOWERSA 5-Point Framework For Python...
View ArticleStack Abuse: Parse Datetime Strings with parsedatetime in Python
IntroductionIn this tutorial, we'll take a look at how to parse Datetime with parsedatetime in Python.To use the parsedatetime package we first need to install it using pip:$ pip install parsedatetime...
View ArticleReal Python: Python Community Interview With Dane Hillard
Today I’m joined by Dane Hillard, lead web application developer at ITHAKA and author of Practices of the Python Pro. Dane is also a Real Pythontutorial author.In this interview, we discuss a variety...
View ArticlePyCharm: Python Web Conference. Day 2 Recap
That was a lot of content! And networking! The PyData track provided a nice example of a live coding session about Data Lakes and Streams from Justin Garrison, as well as a fascinating talk on...
View ArticlePython for Beginners: When to Use try/catch Instead of if/else
While programming, we have to deal with many constraints which are imposed on variables so that program can be executed in proper way. To enforce the constraints on the variables, we use if else block...
View ArticleCodementor: How to build Linkolearn.com - Part 4: CSS & Base Template
In this part we are going to create a base template and set up the basic front page. Repo linkolearn04 (https://github.com/linkolearn/linkolearn04): Download, create venv, activate, install Shopyo...
View ArticleTestDriven.io: Effectively Using Django REST Framework Serializers
This article looks at how to use Django REST Framework (DRF) serializers more efficiently and effectively.
View ArticlePaolo Melchiorre: Python Web Conf 2021
The Python Web Conf is the most in-depth Python conference for web developers
View ArticlePython Bytes: #226 Teaching Python podcast on the podcast!
<p>Special guests: </p> <ul> <li><a href="https://twitter.com/kellypared"><strong>Kelly Schuster-Pared</strong></a><a...
View ArticleThe Digital Cat: How to write a Pelican theme for your static website
I run The Digital Cat using a static site generator called Pelican, created by my friend Justin Mayer and actively maintained by him and other developers. I also gave some minor contributions to the...
View ArticleEuroPython: 20th Anniversary of EuroPython
This year's conference will mark the 20th edition of the EuroPython conference.Since we started touring Europe in 2002 in Charleroi, Belgium, we have come a long way. The conference has grown from the...
View ArticleEuroPython Society: 20th Anniversary of EuroPython
This year's conference will mark the 20th edition of the EuroPython conference:Since we started touring Europe in 2002 in Charleroi, Belgium, we have come a long way. The conference has grown from the...
View Article