PDF Beyond the Basic Stuff with Python - AI Sweigart

Tin đăng trong 'Lập trình, Công Nghệ Thông Tin | IT docs' bởi Mod_Nam, Cập nhật cuối: 13/08/2025.

  1. Mod_Nam

    Mod_Nam Moderator Staff Member Quản trị viên

    Tham gia :
    18/12/2024
    Bài viết:
    1.029
    Lượt thích:
    7
    Điểm thành tích:
    10.708
    Giới tính:
    Nam
    Địa chỉ:
    TP HCM
    [​IMG]
    386 pages

    BRIDGE THE GAP BETWEEN NOVICE AND PROFESSIONAL

    You've completed a basic Python programming tutorial or finished Al Sweigart's best selling 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 in the process as you learn to write readable code that's easy to debug and perfectly Pythonic.

    Check out this Real Python Podcast interview with Al Sweigart.

    "My early Python programs work but could be improved massively with what Al writes about . . . a small goldmine of knowledge that beginners, intermediates and probably even advanced programmers will benefit from."

    GeekTechStuff

    "This is the kind of book every python developer can use... I cannot recommend Beyond the Basic Stuff with Python enough for every person who wants to learn fundamentals surrounding coding and specifically coding in python."

    Ian Mizer, Atlanta Python Programmers Group

    "A great new book . . . Sweigart focuses on three major subjects: common difficulties in getting started (seeking help, setting up a work environment); best practices, tools, and techniques; and using object-oriented Python. The second section is the largest in the book . . . but each section can be read on its own. The book is all the more useful for collecting together between one pair of covers material that you would typically dig up from multiple resources."

    —Serdar Yegulalp, InfoWorld

    Chapters:
    Introduction
    Chapter 1 - Dealing with Errors and Asking for Help
    Chapter 2 - Environment Setup and the Command Line
    Chapter 3 - Code Formatting with Black
    Chapter 4 - Choosing Understandable Names
    Chapter 5 - Finding Code Smells
    Chapter 6 - Writing Pythonic Code
    Chapter 7 - Programming Jargon
    Chapter 8 - Common Python Gotchas
    Chapter 9 - Esoteric Python Oddities
    Chapter 10 - Writing Effective Functions
    Chapter 11 - Comments, Docstrings, and Type Hints
    Chapter 12 - Organizing Your Code Projects with Git
    Chapter 13 - Measuring Performance and Big O Algorithm Analysis
    Chapter 14 - Practice Projects
    Chapter 15 - Object-Oriented Programming and Classes
    Chapter 16 - Object-Oriented Programming and Inheritance
    Chapter 17 - Pythonic OOP: Properties and Dunder Methods
     
    Beyond the Basic Stuff with Python - AI Sweigart : Bạn cần để tải tài liệu
    Lần sửa cuối: 14/08/2025
    Đang tải...

Chia sẻ trang này