Python tutorials

Prettify Your Data Structures With Pretty Print in Python

The Python pprint module is helpful in many situations. It comes in handy when making API requests, dealing with JSON files, or handling complicated and nested data. You’ll probably find that using the normal print() function isn’t adequate to efficiently explore your data and debug your application. When you use print() with dictionaries and lists, the output doesn’t contain any newlines. Before you start exploring pprint, you’ll first use urllib to make a request to get some data. You’ll make […]

Read more

When you should switch to Python 3.10

Python 3.10 is now available–but should you switch to it immediately? And if not now, when? The short answer after its immediate release was, no, you probably don’t want to switch immediately; quite possibly you can’t switch immediately. Now that some time has passed, we’re getting closer to yes, or at least a maybe. To understand why, we need to consider Python packaging, the software development process, and take a look at the history of past releases. We can then […]

Read more

Buying products for your job: estimating value, convincing your boss

You’ve discovered a product that might help you with your job: perhaps a book that will teach you a new and relevant skill, or software that will speed up development. Since you do want to write software better and faster, you are considering buying this product. But, then again, the product costs money, and maybe that money is better spent on something else. So should you buy the product or not? How do you decide? And if it is worth […]

Read more

Advent of Code: Solving Your Puzzles With Python

Advent of Code is an online Advent calendar where you’ll find new programming puzzles offered each day from December 1st to the 25th. While you can solve the puzzles at any time, the excitement when new puzzles unlock is really something special. You can participate in Advent of Code in any programming language—including Python! This tutorial will help you get started with solving puzzles and earning your first golden stars. Advent of Code puzzles are designed to be approachable by […]

Read more

Data Visualization Interfaces in Python With Dash

In the past, creating analytical web applications was a task for seasoned developers that required knowledge of multiple programming languages and frameworks. That’s no longer the case. Nowadays, you can make data visualization interfaces using pure Python. One popular tool for this is Dash. Dash gives data scientists the ability to showcase their results in interactive web applications. You don’t need to be an expert in web development. In an afternoon, you can build and deploy a Dash app to […]

Read more

Is it worth the money? When to buy products for your job

You’ve discovered a product that might help you with your job: perhaps a book that will teach you a new and relevant skill, or software that will speed up development. Since you do want to write software better and faster, you are considering buying this product. But, then again, the product costs money, and maybe that money is better spent on something else. So should you buy the product or not? How do you decide? If it is worth buying, […]

Read more

Building a Neural Network & Making Predictions With Python AI

If you’re just starting out in the artificial intelligence (AI) world, then Python is a great language to learn since most of the tools are built using it. Deep learning is a technique used to make predictions using data, and it heavily relies on neural networks. This course will show you how to build a neural network from scratch. In a production setting, you would use a deep learning framework like TensorFlow or PyTorch instead of building your own neural […]

Read more

The NLP Cypher | 11.21.21

Hey … so have you ever deployed a state-of-the-art production level inference server? Don’t know how to do it? Well… last week, Michael Benesty dropped a bomb when he published one of the first ever detailed blogs on how to not only deploy a production level inference API but benchmarking some of the most widely used frameworks such as FastAPI and Triton servers and runtime engines such as ONNX runtime (ORT) and TensorRT (TRT). Eventually, Michael recreated Hugging Face’s ability […]

Read more

Python Community Interview With Eric Wastl

This week, we’re joined by Eric Wastl, a Senior Architect at TCGPlayer and the founder of Advent of Code (AoC). Join us as we discuss the inception of AoC, how to avoid common pitfalls when solving code challenges in AoC, and what Eric gets up to in the “3.8 seconds” of free time he has per year. Ricky: Thanks for joining me, Eric. You’re perhaps most well known for being the founder of Advent of Code, which we’ll talk about […]

Read more

Speed up your Conda installs with Mamba

Conda installs can be very very very slow. Every time you run conda install: It has to collect the package metadata. It has to solve the environment. … maybe you can take a coffee break here, or go work on a jigsaw puzzle to relax … It has to download packages. Eventually, finally, it will install the packages it downloaded. By the time this is all done you’ve probably forgotten what it was you were trying to do in the […]

Read more
1 112 113 114 115 116 193