Artículos relacionados a Python From the Ground Up: Learn to Program From Zero,...

Python From the Ground Up: Learn to Program From Zero, and Understand What Your Computer Is Actually Doing - Tapa blanda

Doorwar, Piyush

 
9798171318734: Python From the Ground Up: Learn to Program From Zero, and Understand What Your Computer Is Actually Doing

Sinopsis

Most people who start learning to program quit within a month. Not because the material is hard. Because nobody tells them what is going on.

Python From the Ground Up stops and explains. You write your first line of code in chapter 2. By chapter 3 you know exactly what happens between pressing Enter and seeing output: how Python compiles your file into bytecode, what that __pycache__ folder is for, and why a syntax error on line 40 stops line 1 from ever running.

Across fourteen chapters you build one program. It's called Shelf, it tracks the books you own, and it starts as a single line that prints a title. By the end it's a working application with a menu, saved data, search, sorting and classes. Every concept arrives at the point Shelf needs it, so you meet dictionaries at the moment a list stops being able to help.

Inside:

  • Installing Python, the interactive prompt, and your first saved script
  • How Python really runs your code: bytecode, the virtual machine, and where the time goes compared with C
  • Variables, types, conditions, loops
  • Lists, tuples, dictionaries and sets, and when each one wins
  • Strings, f-strings, files, JSON
  • Reading a traceback properly, and handling errors instead of crashing
  • Searching and sorting by hand: binary search, three sorting algorithms, Big-O without the maths, recursion
  • Classes, objects, inheritance, and when inheritance is the wrong answer

Three or four exercises end every chapter. Full solutions are in the back.

No prior programming experience. No maths beyond arithmetic. Written for Python 3.14, and everything in it works on 3.10 and later.

"Sinopsis" puede pertenecer a otra edición de este libro.