Python tutorials

How to Get the Most Out of PyCon US

Congratulations! You’re going to PyCon US! Whether this is your first time or not, going to a conference full of people who love the same thing as you is always a fun experience. There’s so much more to PyCon than just a bunch of people talking about the Python language, and that can be intimidating for first-time attendees. This guide will help you navigate all there is to see and do at PyCon. PyCon US is the biggest conference centered […]

Read more

Python Virtual Environments: A Primer

In this tutorial, you’ll learn how to work with Python’s venv module to create and manage separate virtual environments for your Python projects. Each environment can use different versions of package dependencies and Python. After you’ve learned to work with virtual environments, you’ll know how to help other programmers reproduce your development setup, and you’ll make sure that your projects never cause dependency conflicts for one another. Virtual environments are a common and effective technique used in Python development. Gaining […]

Read more

Exploring Keywords in Python

Every programming language has special reserved words, or keywords, that have specific meanings and restrictions around how they should be used. Python is no different. Python keywords are the fundamental building blocks of any Python program. In this video course, you’ll find a basic introduction to all Python keywords along with other resources that will be helpful for learning more about each keyword. By the end of this video course, you’ll be able to: Identify Python keywords Understand what each […]

Read more

Python News: What’s New From March 2022?

In March 2022, the Python 3.11.0a6 pre-release version became available for you to test, so you can stay on top of Python’s latest features. This release is the sixth of seven planned alpha releases before Python enters the beta phase, which is scheduled for May 5, 2022. PEPs now have a new home with a sleek, modern theme. Also, PEP 594, which deals with removing dead batteries from the Python standard library, has been accepted. Regarding Python events, EuroPython 2022 […]

Read more

Speeding up software with faster hardware: tradeoffs and alternatives

If you’re writing software to process data, you will often hit performance problems: batch jobs that run too slowly, or use too much memory. One potential solution is purchasing better hardware. With cloud computing, switching to a computer with more cores, or adding more RAM, can be done in a few minutes, or even just a few seconds. But as with any solution, there are tradeoffs involved. If your first solution to any performance problem is spending more money on […]

Read more

Build a Site Connectivity Checker in Python

Building a site connectivity checker in Python is an interesting project to level up your skills. With this project, you’ll integrate knowledge related to handling HTTP requests, creating command-line interfaces (CLI), and organizing your application’s code using common Python project layout practices. By building this project, you’ll learn how Python’s asynchronous features can help you deal with multiple HTTP requests efficiently. In this tutorial, you’ll learn how to: Create command-line interfaces (CLI) using Python’s argparse Check if a website is […]

Read more

Python REST APIs With FastAPI

Creating APIs, or application programming interfaces, is an important part of making your software accessible to a broad range of users. In this video course, you’ll learn the main concepts of FastAPI and how to use it to quickly create web APIs that implement best practices by default. By the end of it, you’ll be able to start creating production-ready web APIs, and you’ll have the understanding needed to go deeper and learn more for your specific use cases. In […]

Read more

YAML: The Missing Battery in Python

Python is often marketed as a batteries-included language because it comes with almost everything you’d ever expect from a programming language. This statement is mostly true, as the standard library and the external modules cover a broad spectrum of programming needs. However, Python lacks built-in support for the YAML data format, commonly used for configuration and serialization, despite clear similarities between the two languages. In this tutorial, you’ll learn how to work with YAML in Python using the available third-party […]

Read more

Python GUI Programming With Tkinter

Python has a lot of GUI frameworks, but Tkinter is the only framework that’s built into the Python standard library. Tkinter has several strengths. It’s cross-platform, so the same code works on Windows, macOS, and Linux. Visual elements are rendered using native operating system elements, so applications built with Tkinter look like they belong on the platform where they’re run. Although Tkinter is considered the de facto Python GUI framework, it’s not without criticism. One notable criticism is that GUIs […]

Read more

Using Python’s datetime Module

Python has several different modules to deal with dates and times. This course concentrates on the primary one, datetime. Dates and times are messy things! Shifts due to daylight savings time and time zones complicate any computing with dates and times. In this course, you’ll tackle that messiness and learn: How to use the datetime module What the zoneinfo module does and how to use it How to calculate the difference between two datetime objects    

Read more
1 93 94 95 96 97 181