Quantcast
Channel: Planet Python
Browsing all 23218 articles
Browse latest View live

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


Image may be NSFW.
Clik here to view.

"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 Article


Python 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 Article

Mike 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 Article

Real 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 Article


death 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 Article

Reuven 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 Article

Image may be NSFW.
Clik here to view.

PyCharm: 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 Article


Image may be NSFW.
Clik here to view.

PyCoder’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 Article


Stack 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 Article

Image may be NSFW.
Clik here to view.

Real 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 Article

Image may be NSFW.
Clik here to view.

PyCharm: 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 Article

Python 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 Article


Codementor: 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 Article

TestDriven.io: Effectively Using Django REST Framework Serializers

This article looks at how to use Django REST Framework (DRF) serializers more efficiently and effectively.

View Article


Paolo Melchiorre: Python Web Conf 2021

The Python Web Conf is the most in-depth Python conference for web developers

View Article

Python 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 Article


The 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 Article

Image may be NSFW.
Clik here to view.

EuroPython: 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

Image may be NSFW.
Clik here to view.

EuroPython 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
Browsing all 23218 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>