Using NumPy reshape() to Change the Shape of an Array
Learn how to use NumPy reshape() in Python to change an array's shape, add or remove dimensions, and control how the data is rearranged.
Curated development tutorials from top sources. Filter by language.
Learn how to use NumPy reshape() in Python to change an array's shape, add or remove dimensions, and control how the data is rearranged.
Practice NumPy reshape() by changing an array's shape, adding or removing dimensions, and controlling how the data gets rearranged.
How many attempts have been made to remove Python's Global Interpreter Lock (GIL)? How do they compare to the current approach? Christopher Trudeau is
Learn how to write a CLAUDE.md file for Claude Code, with global, project, and local examples that capture your Python commands and conventions.
Practice writing CLAUDE.md files for Claude Code across global, project, and local layers that capture your Python commands and conventions.
Learn how to write reusable Python mixin classes, distinguish them from abstract base classes, and steer clear of common pitfalls.
Test your understanding of Python mixin classes, see how they differ from abstract base classes, and avoid common pitfalls.
Learn LangGraph in Python with hands-on examples and build stateful, multi-agent AI agents that manage memory, cycles, and complex LLM workflows.
Test your understanding of LangGraph, the Python library for building stateful, cyclic, and multi-actor LLM workflows and agents built on LangChain.
How can you improve your LLM agent systems through specification enrichment? What are the advantages of having an LLM act as a judge within an agent s
Test your understanding of Python's Enum class, from grouping related constants to using IntEnum and IntFlag for integer and bitwise behavior.
Learn how to use GitHub step by step to create a remote repository, push your local Python project, and collaborate with others using GitHub Issues.
Practice putting a Python project on GitHub by creating a remote repository, pushing your local code, and collaborating with others.
Learn how to build a Python MCP client that tests MCP servers from your terminal. List their tools, prompts, and resources, then call each one.
Build a command-line MCP client in Python, connect it to servers over stdio, and test their tools, prompts, and resources.
Python 3.15 picks up two more betas, the Steering Council puts CPython's JIT on a six-month clock, and the PSF confronts its finances.
Check your understanding of Python interfaces, from informal interfaces and duck typing to formal interfaces built with the abc module.
How do you avoid the risk of running a Python application locally that could be malicious, break your code, or leak private data? How can you create a
Test your understanding of natural language processing with Python's NLTK, from tokenizing and stemming to tagging, chunking, and analyzing text.
Learn how the upgraded Python 3.15 JIT compiler speeds up your code with a new tracing frontend, register allocation, and in-place numeric operations.