Beyond the Basic Stuff with Python

Best Practices for Writing Clean Code


Edition: US - Paperback / softback
價格:
銷售價格HK$255.00 原價HK$400.00
庫存狀態:
即將入庫
Product Info
English Age Adult - Adult
384 pages 7.06 x 9.24 x 0.91 吋
Approx. weight: 1.65 lb
Publication date: 16 Dec,2020
Barcode: 9781593279660 No Starch Press

More books in English for Age Adult - Adult

描述

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

    熱銷中 Top Trending

    View all
    Agents of S.U.I.T.: Wild Ghost Chase-Children’s / Teenage general interest: Humour and jokes-買書書 BuyBookBook
    InvestiGators: Agents of S.U.I.T. #03: Wild Ghost Chase
    銷售價格HK$69.00 原價HK$140.00
    有存貨
    Snow White: Fair & Sinister Heart-Children’s / Teenage fiction: Action and adventure stories-買書書 BuyBookBook
    Snow White: Fair & Sinister Heart
    銷售價格HK$119.00 原價HK$190.00
    有存貨
    The Anxious Generation
    The Anxious Generation
    銷售價格從 HK$92.00 原價HK$140.00
    有存貨
    Billy and the Mini Monsters: Monsters Go Back to School-Children’s Educational: Language/ literature/ literacy-買書書 BuyBookBook
    Billy and the Mini Monsters #17 Monsters Go Back to School
    銷售價格HK$55.00 原價HK$98.00
    有存貨
    Little Prince, The Picture Book (Hardback) Harpercollins (UK)
    Little Prince, The Picture Book (Hardback)
    銷售價格HK$49.00 原價HK$182.00
    有存貨
    Einstein the Penguin (Iona Rangeley)-Fiction: 幽默搞笑 Humorous-買書書 BuyBookBook
    Einstein the Penguin (Iona Rangeley)
    銷售價格HK$64.00 原價HK$104.00
    有存貨
    The Curious Incident of the Dog in the Night-Time
    The Curious Incident of the Dog in the Night-Time
    銷售價格從 HK$49.99 原價HK$100.00
    有存貨
    InvestiGators: Agents of S.U.I.T. #02: From Badger to Worse (正版)(John Patrick Green)-Fiction: 幽默搞笑 Humorous-買書書 BuyBookBook
    InvestiGators: Agents of S.U.I.T. #02: From Badger to Worse
    銷售價格HK$79.00 原價HK$99.00
    有存貨
    Pip and Posy (正版) Collection (Books with Audio QR Code* )(Axel Scheffler)-Fiction: 兒童繪本 Picture Books-買書書 BuyBookBook
    Pip and Posy (正版) Collection (Books with Audio QR Code)(Axel Scheffler)
    銷售價格從 HK$249.00 原價HK$671.00
    有存貨
    InvestiGators: Agents of S.U.I.T. (正版)(John Patrick Green)-Fiction: 幽默搞笑 Humorous-買書書 BuyBookBook
    InvestiGators: Agents of S.U.I.T. #01
    銷售價格HK$85.00 原價HK$99.00
    有存貨
    The Impossible City-Biography and memoirs-買書書 BuyBookBook
    The Impossible City
    銷售價格HK$144.00 原價HK$220.00
    有存貨
    Billy and the Mini Monsters #16 Monsters at Easter
    Billy and the Mini Monsters #16 Monsters at Easter
    銷售價格HK$47.00 原價HK$84.00
    有存貨
    屁屁偵探讀本 11: 新的怪盜 (Troll)-故事: 偵探懸疑 Detective & Mystery-買書書 BuyBookBook
    屁屁偵探讀本 11: 新的怪盜 (Troll)
    銷售價格HK$63.00 原價HK$100.00
    有存貨
    Bluey Big Fun box of Books (20 books collection)-Children’s picture books-買書書 BuyBookBook
    Bluey Big Fun box of Books Collection
    銷售價格從 HK$275.00 原價HK$980.00
    有存貨
    Usborne (正版) My First Reading Library (Stage 1) (50 Books) Usborne
    Usborne (正版) My First Reading Library (Stage 1) (50 Books)
    銷售價格HK$395.00 原價HK$1,188.00
    有存貨
    如果歷史是一群喵 (09) 五代十國篇-非故事: 歷史戰爭 History & War-買書書 BuyBookBook
    如果歷史是一群喵 (09) 五代十國篇
    銷售價格HK$102.00 原價HK$157.00
    有存貨
    Kay's Anatomy: A Complete (and Completely Disgusting) Guide to the Human Body (Adam Kay)-Nonfiction: 科學科技 Science & Technology-買書書 BuyBookBook
    Kay's Anatomy
    銷售價格從 HK$69.00 原價HK$100.00
    有存貨
    Bunny vs Monkey: the League of Doom (UK)-Fiction: 幽默搞笑 Humorous-買書書 BuyBookBook
    Bunny vs Monkey #03 the League of Doom (UK)
    銷售價格HK$85.00 原價HK$130.00
    有存貨
    Cat on the Run Episode 1 Cat of Death! (Aaron Blabey)-Fiction: 兒童繪本 Picture Books-買書書 BuyBookBook
    Cat on the Run Episode 1 Cat of Death! (Aaron Blabey)
    銷售價格HK$50.00 原價HK$80.00
    有存貨
    Astrochimp (David Walliams)-Fiction: 幽默搞笑 Humorous-買書書 BuyBookBook
    Astrochimp (David Walliams)
    銷售價格HK$78.00 原價HK$182.00
    有存貨
    Chemistry for Beginners
    Chemistry for Beginners
    銷售價格HK$85.00 原價HK$140.00
    有存貨
    The Coming Wave (Export Edition)
    The Coming Wave (Export Edition)
    銷售價格HK$90.00 原價HK$140.00
    有存貨
    Uprooted-買書書 BuyBookBook
    Uprooted
    銷售價格HK$99.00 原價HK$150.00
    有存貨

    最近瀏覽過的