Talk Python to Me: #306 Scaling Python and Jupyter with ZeroMQ
When we talk about scaling software threading and async get all the buzz. And while they are powerful, using asynchronous queues can often be much more effective. You might think this means creating a...
View ArticleAndre Roberge: Friendly-traceback will have a new name
tl; dr: I plan to change the name from friendly_traceback to friendly. When I started working on Friendly-traceback, I had a simple goal in mind:Given an error message in a Python traceback, parse it...
View ArticleTest and Code: 147: Testing Single File Python Applications/Scripts with...
Have you ever written a single file Python application or script? Have you written tests for it? Do you check code coverage?This is the topic of this weeks episode, spurred on by a listener...
View ArticleCodementor: pytest quick tip: Adding CLI options
Quick intro to adding CLI arguments to a pytest test suite in the context of pytest-selenium.
View ArticlePyBites: Are You Working on Your Mindset as Much as Your Technical Skills?
Do you want to read an amazing coaching / mindset book? Check out Wooden: A Lifetime of Observations and Reflections On and Off the Court:In this post I wanted to share some of our favorite...
View ArticleDoug Hellmann: imapautofiler 1.11.0
New Features A configuration option has been added to disable the use of SSL/TLS for servers that do not support it. The default is to always use SSL/TLS. Contributed by Samuele Zanon. Upgrade Notes...
View ArticleAndre Roberge: Going back in history
Imagine that you wish to run a program that takes a long time to run. Just in case somethings goes wrong, you decide to use friendly-traceback (soon to be renamed...) in interactive mode to run it....
View ArticleThe Digital Cat: TDD in Python with pytest - Part 5
This is the fifth and last post in the series "TDD in Python with pytest" where I develop a simple project following a strict TDD methodology. The posts come from my book Clean Architectures in Python...
View ArticleWeekly Python StackOverflow Report: (cclxvi) stackoverflow python report
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2021-03-06 19:28:13 GMTHow can I bulk/batch transcribe wav files using...
View ArticleThe Digital Cat: Delegation: composition and inheritance in object-oriented...
IntroductionObject-oriented programming (OOP) is a methodology that was introduced in the 60s, though as for many other concepts related to programming languages it is difficult to give a proper date....
View ArticleJohn Ludhi/nbshare.io: Python Generators
Python GeneratorsPython generators are very powerful for handling operations which require large amount of memory.Let us start with simple example. Below function prints infinite sequence of numbers.In...
View ArticleZero-with-Dot (Oleg Żero): Why using SQL before using Pandas?
IntroductionData analysis is one of the most essential steps in any data-related project. Regardless of the context (e.g. business, machine-learning, physics, etc.), there are many ways to get it...
View ArticleCusy: New: Pattern Matching in Python 3.10
The originally object-oriented programming language Python is to receive a new feature in version 3.10, which is mainly known from functional languages: pattern matching. The change is controversial in...
View ArticlePython Pool: 5 Best Ways to Find Python String Length
What is Python String Length?Python string length is the function through which we find the length of the string. There is an inbuilt function called len() in python, so this len() function finds the...
View ArticleMatthew Wright: How to remove a column from a DataFrame, with some extra detail
Removing one or more columns from a pandas DataFrame is a pretty common task, but it turns out there are a number of possible ways to perform this task. I found that this StackOverflow question, along...
View ArticleCodementor: How I learned Python
About me I am a senior software developer with experience over 8 years. I am working now at IT company as Developer. I'd like to get new technology and challenge. I love the programming and...
View ArticleJohn Ludhi/nbshare.io: Strftime and Strptime In Python
Strftime and Strptime In PythonIn this post, we will learn about strftime() and strptime() methods from Python datetime package.Python Strftime FormatThe strftime converts date object to a string...
View ArticleMike Driscoll: PyDev of the Week: Jens Winkelmann
This week we welcome Jens Winkelmann (@jWinman) as our PyDev of the Week! Jens is a PhD researcher in the Foams and Complex System Group at Trinity College Dublin (TCD). You can find out more about...
View ArticleCodementor: Descriptive Statistics for World GDP per Capita with Python
Learn how to produce descriptive statistics for GDP data using Python data science techniques.
View ArticleStack Abuse: How to Sort a Pandas DataFrame by Date
IntroductionPandas is an extremely popular data manipulation and analysis library. It's the go-to tool for loading in and analyzing datasets for many.Correctly sorting data is a crucial element of many...
View Article