Beyond the Basic Stuff with Python
von Al Sweigart
Englischsprachige Ausgabe
4,7 330 Bewertungen i
Leserwertung, nach Zahl der Stimmen gewichtet aus diesen Quellen (Stand 27.11.2026):
- Amazon.de: 4,7 von 5 bei 330 Bewertungen
- Open Library: 0 Bewertungen
Die Bewertungen stammen nicht von Käufern unseres Shops und wurden von uns nicht geprüft.
Abholung derzeit nicht verfügbar
inkl. MwSt., versandkostenfrei
Lieferbar – in 2 bis 4 Werktagen bei dir
- EinbandTaschenbuch
- SpracheEnglisch
- Erschienen2021
Wer ein Python-Tutorial abgeschlossen hat und sauberer programmieren will, findet hier den nächsten Schritt: lesbaren Code und Werkzeuge, die auch in anderen Sprachen gelten.
Mehr über das Buch ↓Englischsprachige AusgabeDer Text dieses Buchs ist auf Englisch, nicht auf Deutsch. Nur unsere Beschreibung ist deutsch.
Im ersten Teil richtet man eine Entwicklungsumgebung ein, lernt, Fehlermeldungen zu lesen und Hilfe zu finden, und formatiert Code mit dem Black-Modul. Dazu kommen die Kommandozeile und Werkzeuge wie Code-Formatierer, Typprüfer und Linter.
Der zweite Teil behandelt Best Practices: passende Variablennamen, typische Fehlerquellen im Code erkennen, pythonischen Stil, Fallstricke und Eigenheiten der Sprache, funktionale Techniken wie lambda und Funktionen höherer Ordnung, gut gebaute Funktionen, Kommentare, Docstrings und Typhinweise. Außerdem geht es um Versionskontrolle mit Git, das Strukturieren von Projektdateien mit dem Werkzeug Cookiecutter und das Messen der Laufzeit mit den Modulen timeit und cProfile.
Im dritten Teil stehen zwei klassische Kommandozeilenspiele: der Turm von Hanoi, ein Logikrätsel, und Vier gewinnt, ein Spiel für zwei Personen, bei dem man Steine einwirft. Der Quellcode wird Schritt für Schritt erklärt und darauf geprüft, wie er die besprochenen Regeln umsetzt. Zum Schluss programmiert man die Spiele selbst nach. Der letzte Teil führt in objektorientierte Programmierung ein: Klassen und Objekte, Vererbung und pythonische Wege, objektorientierten Code zu schreiben. Dazu gehört die Big-O-Analyse von Algorithmen, wie sie in Programmierinterviews oft vorkommt.
Unsere Einschätzung
Das Taschenbuch erschien 2021 bei Random House LLC US und ist auf Englisch. Die Beispiele gelten für Python 3.6 und höher. Das Buch stand bisher auf keiner Bestsellerliste.
Redaktion Paulini Shop
Über den Autor
Al Sweigart
Al Sweigart ist der Autor von Automate the Boring Stuff with Python, einem Bestseller. Beyond the Basic Stuff with Python ist sein Folgebuch.
Buchdaten
- Autor
- Al Sweigart
- Verlag
- Random House LLC US
- Erscheinungsjahr
- 2021
- Einband
- Taschenbuch
- Sprache
- Englisch
- Format
- 17,5 × 23,6 cm
- ISBN
- 9781593279660
KategorienBücher auf EnglischComputer & InformatikFachbuchFremdsprachige BücherProgrammierung
Häufige Fragen
Brauche ich Vorkenntnisse?
Ja. Das Buch setzt Python-Grundwissen voraus, etwa aus einem Einsteiger-Tutorial oder aus Automate the Boring Stuff with Python.
In welcher Sprache ist das Buch, und welche Python-Version wird vorausgesetzt?
Das Buch ist auf Englisch erschienen. Die Beispiele gelten für Python 3.6 und höher.
Gibt es Übungen?
Ja. Im dritten Teil werden der Turm von Hanoi und Vier gewinnt Schritt für Schritt besprochen, und man soll die Programme selbst umsetzen.
Verlagstext
You've completed a basic Python programming tutorial or finished Al Sweigart's bestseller, Automate the Boring Stuff with Python. What's the next step toward becoming a capable, confident software developer?
Welcome to Beyond the Basic Stuff with Python. More than a mere collection of advanced syntax and masterful tips for writing clean code, you'll learn how to advance your Python programming skills by using the command line and other professional tools like code formatters, type checkers, linters, and version control. Sweigart takes you through best practices for setting up your development environment, naming variables, and improving readability, then tackles documentation, organization and performance measurement, as well as object-oriented design and the Big-O algorithm analysis commonly used in coding interviews. The skills you learn will boost your ability to program--not just in Python but in any language.
You'll learn:
- Coding style, and how to use Python's Black auto-formatting tool for cleaner code- Common sources of bugs, and how to detect them with static analyzers- How to structure the files in your code projects with the Cookiecutter template tool- Functional programming techniques like lambda and higher-order functions- How to profile the speed of your code with Python's built-in timeit and cProfile modules- The computer science behind Big-O algorithm analysis- How to make your comments and docstrings informative, and how often to write them- How to create classes in object-oriented programming, and why they're used to organize code
Toward the end of the book you'll read a detailed source-code breakdown of two classic command-line games, the Tower of Hanoi (a logic puzzle) and Four-in-a-Row (a two-player tile-dropping game), and a breakdown of how their code follows the book's best practices. You'll test your skills by implementing the program yourself.
Of course, no single book can make you a professional software developer. But Beyond the Basic Stuff with Python will get you further down that path and make you a better programmer, as you learn to write readable code that's easy to debug and perfectly Pythonic
Requirements: Covers Python 3.6 and higher