Beyond the Basic Stuff with Python

Best Practices for Writing Clean Code

... more

Edition: US - Paperback / softback
價格:
銷售價格HK$262.00 原價HK$400.00
庫存狀態:
即將入庫
Product Info
English
384 pages 17.78 x 23.34 x 2.34 公分
Approx. weight: 0.75 kg
Publication date: 16 Dec,2020
Barcode/ ISBN: 9781593279660 No Starch Press

More books in English for Age -

描述

By: Al Sweigart     
BRIDGE THE GAP BETWEEN NOVICE AND PROFESSIONAL

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

    You may also like

    熱賣暢銷榜

    View all
    The Eyes and the Impossible
    The Eyes and the Impossible
    銷售價格從 HK$85.00 原價HK$140.00
    有存貨
    The Humble Pie
    The Humble Pie
    銷售價格從 HK$56.00 原價HK$90.00
    有存貨
    Disney Zootopia 2 Little Golden Book-Children’s / Teenage fiction: General and modern fiction-買書書 BuyBookBook
    Disney Zootopia 2 Little Golden Book
    銷售價格HK$38.00 原價HK$60.00
    有存貨
    The Legend of the Last Library-Children’s / Teenage fiction: Fantasy-買書書 BuyBookBook
    The Legend of the Last Library
    銷售價格從 HK$85.00 原價HK$189.00
    有存貨
    Uprooted-買書書 BuyBookBook
    Uprooted
    銷售價格從 HK$99.00 原價HK$150.00
    有存貨
    Pizza and Taco: Go Viral!-Graphic novel / Comic book / Manga: genres-買書書 BuyBookBook
    Pizza and Taco: Go Viral!
    銷售價格從 HK$70.00 原價HK$110.00
    有存貨
    The Amazing Generation-Children’s / Teenage: Personal and social topics-買書書 BuyBookBook
    The Amazing Generation
    銷售價格從 HK$86.00 原價HK$135.00
    有存貨
    The Legendary Mo Seto-Children’s / Teenage fiction: Sporting stories-買書書 BuyBookBook
    The Legendary Mo Seto
    銷售價格從 HK$59.00 原價HK$90.00
    有存貨
    The Anxious Generation
    The Anxious Generation
    銷售價格從 HK$83.00 原價HK$140.00
    有存貨
    Diary of a Wimpy Kid: Partypooper (Book 20)
    Diary of a Wimpy Kid: Partypooper (Book 20)
    銷售價格HK$85.00 原價HK$210.00
    有存貨
    Days at the Morisaki Bookshop-Nonfiction: 參考百科 Reference & Encyclopedia-買書書 BuyBookBook
    Days at the Morisaki Bookshop
    銷售價格HK$94.00 原價HK$154.00
    有存貨
    AI for Beginners-Children’s / Teenage general interest: Science and technology-買書書 BuyBookBook
    AI for Beginners
    銷售價格HK$85.00 原價HK$140.00
    有存貨
    Witchlings-Fiction: 奇幻魔法 Fantasy & Magical-買書書 BuyBookBook
    Witchlings
    銷售價格HK$59.00 原價HK$90.00
    有存貨
    Anzu and the Realm of Darkness: A Graphic Novel
    Anzu and the Realm of Darkness: A Graphic Novel
    銷售價格從 HK$85.00 原價HK$140.00
    有存貨
    Atomic Habits (EXP)
    Atomic Habits (EXP)
    銷售價格從 HK$155.00 原價HK$210.00
    有存貨
    No Matter the Distance-Children’s / Teenage: poetry/ anthologies/ annuals-買書書 BuyBookBook
    No Matter the Distance
    銷售價格從 HK$62.00 原價HK$100.00
    有存貨
    Montgomery Bonbon: Murder at the Museum
    Montgomery Bonbon: Murder at the Museum
    銷售價格從 HK$62.00 原價HK$100.00
    有存貨
    A Brush with Magic
    A Brush with Magic
    銷售價格HK$112.00 原價HK$170.00
    有存貨
    Dogtown-Children’s / Teenage fiction: Nature and animal stories-買書書 BuyBookBook
    Dogtown
    銷售價格從 HK$59.99 原價HK$90.00
    有存貨
    Sweet Valley Twins: Three's a Crowd-Graphic novels/ Comic books/ Manga/ Cartoons-買書書 BuyBookBook
    Sweet Valley Twins: Three's a Crowd
    銷售價格從 HK$96.00 原價HK$150.00
    有存貨
    Mishka-Children’s / Teenage fiction: General and modern fiction-買書書 BuyBookBook
    Mishka
    銷售價格HK$99.00 原價HK$160.00
    有存貨
    普通兄妹怪奇科學家 2:明天帶雨傘-Children’s / Teenage general interest: Science and technology-買書書 BuyBookBook
    普通兄妹怪奇科學家 2:明天帶雨傘
    銷售價格HK$83.00 原價HK$127.00
    有存貨

    最近瀏覽過的