python

Python's Global Interpreter Lock (GIL): Understanding the Pros and Cons

Discover the pros and cons of Python's Global Interpreter Lock (GIL). Understand how to optimize performance and concurrency for your Python applications.

Python Number Formatting Made Easy with f-Strings

Learn how to format numbers in Python with f-strings. Use format_spec to specify width, alignment, scientific notation, and more.

pydoc3 builtins

A short screencast showing how to use the command `pydoc3` to access the Python documentation in the terminal on a Linux based operating system.

pydoc3 -b

A short screencast showing the output of the command `pydoc3 -b` in a terminal on a Linux based operating system.

Use Objexplore for Inspecting and Debugging Python Code

A short screencast demonstrating the Python package objexplore with the builtins Python module.

Automating Browser Screenshots for Social Media using wcap and Pillow

An article describing how I automated the creation of social media images for two websites with graphics rendered in JavaScript by using screenshots.

Python Data Science Handbook: Essential Tools for Working with Data

A review of the Python Data Science Handbook, which covers IPython, NumPy, pandas, Matplotlib and machine learning with Scikit-Learn, and was written by Jake VanderPlas.

David Beazley: The Fun of Reinvention (Screencast)

In his keynote from PyCon Israel 2017 Python expert David Beazley talks about the fun of reinventing things and using and abusing new features in Python 3.6.

Installing and Setting up Python 2.7 on Shared Hosting

This tutorial outlines the steps of installing and setting up Python 2.7 on a shared hosting platform and how to enable the creation of virtual environments.

Customizing Matplotlib's Plotting Styles

A tutorial on how to customize the look and feel of plots created with the Matplotlib library for Python.

Automating Browser Tasks without Distraction on Ubuntu

How to automate browser tasks on Ubuntu using Selenium from Python without displaying a browser window.

Pycon 2015: Beyond PEP 8 by Raymond Hettinger

This talk from PyCon 2015 by Raymond Hettinger is about how to leverage Python language features to writer better and more beautiful code.

Automatic Code Reviews by Carl Crowder

An interesting 20-min talk introducing some of the tools available to analyze and report on your Python code base.

Asset Management in Python by Robert Kluin and Beau Lyddon

This talk from PyCon 2013 by Robert Kluin and Beau Lyddon is about strategies for managing frontend assets like CSS and JavaScript files in Python.

Raymond Hettinger: Transforming code into Beautiful, Idiomatic Python

In this talk from PyCon 2013 Python core developer Raymond Hettinger provides a fast-paced overview of Python idioms that make your code faster and more beautiful.

Introducing b2tob3: Easier Migration to Bootstrap 3

b2tob3 is a command line tool to help migrate Web projects from bootstrap 2 to bootstrap 3 by performing a set of replacements that reflect bootstrap 3 class name changes.

Python Script to Delete Delicious Bookmarks

A Python script to delete all bookmarks from the Delicious bookmarking service for the authenticated user.

(Ab)using Pandas to Migrate Disqus Threads

A short tutorial on how to use the pandas Python toolkit to create a URL map for migrating Disqus comment threads.

Taking Web Page Screenshots with PhantomJS and Python

A brief tutorial on how to create screenshots with common browser resolutions and save them as PNG files using PhantomJS and Python.

Python Text Processing with NLTK 2.0 Cookbook

A review of the Python Text Processing with NLTK 2.0 Cookbook that covers text categorization, topic identification, stemming, lemmatization, tokenization, corpus creation and more.

Mining the Social Web

A review of the book Mining the Social Web about collecting, analyzing, and visualizing data from social networks like Facebook, Twitter, and LinkedIn.