Python

Python | News, how-tos, features, reviews, and videos


World flags on keyboard buttons.

8 great Python libraries for natural language processing

With so many NLP resources in Python, how to choose? Discover the best Python libraries for analyzing text and how to use them.

youtube thumbnails template 021020
video

Smart Go: Marshaling JSON in Go with structs

Learn how to use the struct type in Go to translate JSON read from a website into a local data structure. This video also briefly covers the use of using the net/http package to read from websites, Go error handling, and using the...

square peg in a round hole / wooden block shapes toy

How to use structural pattern matching in Python

The pattern-matching syntax introduced in Python 3.10 allows for powerful new programming techniques for decision-making in apps.

CSO > Formula One- / Formula 1- / F1-style modeled wireframe race cars with abstract circuit overlay

6 projects that push Python performance

Python has never been as speedy as C or Java, but several projects are in the works to get the lead out of the language

youtube thumbnails template 021020
video

Building a toy social network with Python, Part 2: The web interface

In Part 2 of this ongoing series, we show how to create a basic web interface to the data back end we created in Part 1. For this, we use Bottle, a tiny web framework with an HTML templating system.

Data science

NumPy 1.20 introduces type annotations

Major upgrade to the scientific package for Python also features expanded use of SIMD, increasing the execution speed of universal functions.

television static 135724968

Python developers want static typing

The most-wanted features by Python developers are static typing and strict type hinting, closely followed by performance improvements, Python Software Foundation survey results reveal.

Plastic, magnetic letters in compartmented boxes.

Unleash the power of Python regular expressions

How to use the regular expression functions provided by the ‘re’ library to match, search, and replace text in your Python programs.

ifcr 058 thumb
video

How to set up Python in RStudio

Are you an R user confused by setting up Python? See how to install and configure Python – and run Python code within RStudio. Plus: Send data from Python to an R object. With InfoWorld Python expert Serdar Yegulalp who explains the...

please donate here sign

Google Cloud funds Python projects

Google Cloud donation to Python Software Foundation will support CPython maintenance, foundational Python tools, and malware detection for the PyPI package repo.

executive pushing boulder uphill deadline stress struggle

Speed up Python functions with memoization and lru_cache

Take advantage of caching and the lru_cache decorator to relieve your Python functions from repetitive heavy lifting.

certification woman on laptop programmer devops data scientist by picjumbo

Got the Python basics down? Read this book next

A great new book from the author of ‘Automate the Boring Stuff with Python’ helps you move past beginning concepts and embrace pro-level Python skills.

02 crown king queen royalty

8 reasons Python will rule the enterprise — and 8 reasons it won’t

The rise of Python will lead many enterprise managers to wonder whether it’s time to jump on the hype train. Let’s weigh the pros and cons.

two dogs in file cabinet crm erp comparison similar pairs

How to unleash the power of Python sets

Sets in Python organize collections of unique objects. Learn how to take advantage of this powerful feature in your own code.

convergence railroad tracks merge aquisitions

How to merge data in Python using Pandas merge

Use the popular Pandas library for data manipulation and analysis to read data from two files and join them into a single dataset.

green tree python

PyCharm Python IDE backs Apple Silicon

Latest upgrade to the JetBrains IDE for Python development brings support for new Mac hardware and fixes multiple bugs.

Woman surprised with balloons

Python edges C++ for Tiobe’s programming language of the year

Tiobe index of programming language popularity identified Python and C++ as the languages with the greatest increases in popularity in 2020.

ifcp 039 thumb
video

Python and the SQLite database: An introduction

Python comes with a database built into it, SQLite, that you can use in your own Python programs to store and retrieve structured data, using the SQL syntax common to databases. In this video you'll see a quick example of how to do...

Load More