News
uv vs pip: Python Packaging and Dependency Management – Real Python
1+ hour, 49+ min ago (129+ words) When it comes to Python package managers, the choice often comes down to uv vs pip. You may choose pip for out-of-the-box availability, broad compatibility, and reliable ecosystem support. In contrast, uv is worth considering if you prioritize fast installs,…...
How to Integrate ChatGPT's API With Python Projects – Real Python
1+ day, 1+ hour ago (1700+ words) Python's openai library provides the tools you need to integrate the ChatGPT API into your Python applications. With it, you can send text prompts to the API and receive AI-generated responses. You can also guide the AI's behavior with developer…...
How to Create a Django Project – Real Python
6+ day, 1+ hour ago (1776+ words) 32m " 10 lessons Before you can start building your Django web application, you need to set up your Django project. In this guide you'll learn how to create a new Django project in four straightforward steps and only six commands: The tutorial…...
Intro to Object-Oriented Programming (OOP) in Python – Real Python
1+ week, 5+ hour ago (154+ words) Object-oriented programming (OOP) is one of the most significant and essential topics in programming. This course will give you a foundational conceptual understanding of object-oriented programming to help you elevate your Python skills. You'll learn how to define custom types…...
Python's deque: Implement Efficient Queues and Stacks – Real Python
1+ week, 1+ day ago (1850+ words) You can use Python's deque for efficient appends and pops at both ends of a sequence-like data type. These capabilities are critical when you need to implement queue and stack data structures that operate efficiently even under heavy workloads. In…...
How to Build a Personal Python Learning Roadmap â Real Python
1+ week, 6+ day ago (1783+ words) If you want to learn Python or improve your skills, a detailed plan can help you gauge your current status and navigate toward a target goal. This tutorial will help you craft a personal Python learning roadmap so you can…...
Tips for Using the AI Coding Editor Cursor
2+ week, 1+ hour ago (104+ words) Cursor is an AI-powered integrated development environment (IDE) based on the Visual Studio Code codebase. It comes with a multi-agent interface and the Composer model for fast, agentic coding while keeping a familiar editor workflow with project-aware chat, code completion,…...
Learn From 2025's Most Popular Python Tutorials and Courses
2+ week, 1+ day ago (1490+ words) As we welcome 2026, it's time to look back on an exciting year for Python. Python 3.14 arrived with a wave of developer-focused improvements, from lazy annotations that finally resolve long-standing type hinting quirks to clever new t-strings that give you more…...
LlamaIndex in Python: A RAG Guide With Examples
3+ week, 6+ day ago (1783+ words) Discover how to use LlamaIndex with practical examples. This framework helps you build retrieval-augmented generation (RAG) apps using Python. LlamaIndex lets you load your data and documents, create and persist searchable indexes, and query an LLM using your data as…...
Reading User Input From the Keyboard With Python – Real Python
4+ week, 1+ hour ago (196+ words) You may often want to make your Python programs more interactive by responding dynamically to input from the user. Learning how to read user input from the keyboard unlocks exciting possibilities and can make your code far more useful. The…...