liveBook · Manning

Python

As explained in Python Workout, Second Edition

Python is a general-purpose, high-level programming language known for readable syntax and broad application support.

Python is a general-purpose, high-level language that combines readable syntax with substantial capabilities. Its low floor supports rapid learning, while its high ceiling supports serious applications across data, web development, automation, testing, operations, research, and security. section 1.0

Effective Python practice centers on solving focused problems with core data structures, then organizing solutions with functions, modules, classes, iterators, and generators. Fluency means choosing constructs deliberately, writing readable Pythonic code, and recognizing tradeoffs between alternatives. section 1.3 section 12.0

A practical progression builds from frequently used structures toward larger program organization:

  • Work with numbers, strings, lists, tuples, dictionaries, sets, and files. section 1.3
  • Organize solutions with functions, functional programming, modules, packages, and object-oriented programming. section 1.3
  • Extend solutions with iterators and generators, while comparing alternative implementations and avoiding constructs that merely work but are un-Pythonic. section 1.3 section 12.0

Practice loop

Choose a small recurring task, break it into elements, and implement it with appropriate data structures, functions, classes, or other Python techniques. Read the problem, attempt a solution, compare it with another solution, and inspect both for improvements or bugs. section 1.4 section 12.1

How Python Workout, Second Edition covers it

How deep it goes
Develops fluency through exercises in core structures and program organization, while leaving continuing libraries, techniques, and language nuances for further practice.
Examples
Uses exercises with core data structures, recurring-task automation, solution comparison, and open-source contribution as practice contexts.
What it assumes
Requires Python 3.10 or newer, a runnable coding environment, and time and patience rather than additional specified background.
What you can do after
Apply Python to break down unfamiliar problems, select suitable constructs, write readable code, and automate recurring tasks.
How it connects
Connects numbers, strings, lists, tuples, dictionaries, sets, files, functions, modules, packages, classes, iterators, and generators.

Also explained in

Compare how 26 books explain Python →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Python Workout, Second Edition. The section links point to the parts of the book it draws on.