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
    Press Start! #15  Mega Mole Girl Digs Deep! (Branches)
    Press Start! #15 Mega Mole Girl Digs Deep! (Branches)
    銷售價格HK$47.00 原價HK$98.00
    有存貨
    Astrochimp (David Walliams)Astrochimp (David Walliams)
    Astrochimp (David Walliams)
    銷售價格HK$73.88 原價HK$182.00
    有存貨
    Murder Most Unladylike Mystery, A #1 - 買書書 BuyBookBookMurder Most Unladylike Mystery, A #1 - 買書書 BuyBookBook
    Murder Most Unladylike Mystery, A #1
    銷售價格HK$69.00 原價HK$95.90
    有存貨
    野貓軍團去露營 (工藤紀子)野貓軍團去露營 (工藤紀子)
    野貓軍團去露營 (工藤紀子)
    銷售價格HK$63.00 原價HK$100.00
    有存貨
    Charlie and the Chocolate Factory (US)(Paperback)(Roald Dahl) PRHUSCharlie and the Chocolate Factory (US)(Paperback)(Roald Dahl) PRHUS
    Charlie and the Chocolate Factory (US)(Paperback)(Roald Dahl)
    銷售價格HK$59.00 原價HK$90.00
    有存貨
    WonderWonder
    Wonder
    銷售價格從 HK$64.00 原價HK$96.00
    有存貨
    The Lost Library
    The Lost Library
    銷售價格HK$115.00 原價HK$180.00
    有存貨
    Honestly Elliott
    Honestly Elliott
    銷售價格HK$60.00 原價HK$90.00
    有存貨
    Elephant and Piggie 8 Books Pack-Fiction: 橋樑章節 Early Readers-買書書 BuyBookBookElephant and Piggie 8 Books Pack-Fiction: 橋樑章節 Early Readers-買書書 BuyBookBook
    Elephant and Piggie 8 Books Pack
    銷售價格HK$195.00 原價HK$832.00
    有存貨
    Legends of Lotus Island #01 The Guardian Test (Christina Soontornvat)
    Legends of Lotus Island #01 The Guardian Test (Christina Soontornvat)
    銷售價格從 HK$67.00 原價HK$112.00
    有存貨
    Elf Dog and Owl HeadElf Dog and Owl Head
    Elf Dog and Owl Head
    銷售價格從 HK$57.00 原價HK$98.00
    有存貨
    Dogtown
    Dogtown
    銷售價格從 HK$64.00 原價HK$90.00
    有存貨
    小金魚逃走了 (附贈小金魚貼紙) (五味太郎)-非故事: 學前基礎 Preschool Basics-買書書 BuyBookBook小金魚逃走了 (附贈小金魚貼紙) (五味太郎)-非故事: 學前基礎 Preschool Basics-買書書 BuyBookBook
    小金魚逃走了 (附贈小金魚貼紙) (五味太郎)
    銷售價格HK$51.00 原價HK$73.00
    有存貨
    Ronia, the Robber's Daughter
    Ronia, the Robber's Daughter
    銷售價格HK$53.00 原價HK$80.00
    有存貨
    Good DifferentGood Different
    Good Different
    銷售價格從 HK$59.00 原價HK$90.00
    有存貨
    When Giants Burn
    When Giants Burn
    銷售價格從 HK$59.00 原價HK$90.00
    有存貨
    Brown: My Alter Ego Is A Superhero Book 1 (Håkon Øvreås)
    Brown: My Alter Ego Is A Superhero Book 1 (Håkon Øvreås)
    銷售價格從 HK$64.00 原價HK$80.00
    有存貨
    The Wildes #01 The Amazon
    The Wildes #01 The Amazon
    銷售價格HK$105.00 原價HK$130.00
    有存貨
    Bizzy Bear Jobs Bundle (8 Board Books with QR code Audio) Nosy CrowBizzy Bear Jobs Bundle (8 Board Books with QR code Audio) Nosy Crow
    Bizzy Bear Jobs Bundle (8 Board Books with QR code Audio)
    銷售價格HK$289.99 原價HK$349.00
    有存貨
    Maisy's (正版) Holiday Picture Book Bag Collection (Lucy Cousins) - 買書書 BuyBookBookMaisy Goes on Holiday (Paperback) (Lucy Cousins) Walker UK
    Maisy's (正版) Holiday Picture Book Bag Collection (Lucy Cousins)
    銷售價格HK$175.00 原價HK$504.00
    有存貨
    Press Start! #14 Super Game Book! Special Edition (Branches)-Fiction: 歷險科幻 Adventure & Science Fiction-買書書 BuyBookBook
    Press Start! #14 Super Game Book! Special Edition (Branches)
    銷售價格HK$48.00 原價HK$80.00
    有存貨
    Disney/Pixar Inside Out 2: Go to Sleep, Anxiety!
    Disney/Pixar Inside Out 2: Go to Sleep, Anxiety!
    銷售價格HK$115.00 原價HK$180.00
    有存貨
    Dog Man 12: The Scarlet Shedder-Graphic novel / Comic book / Manga: Superheroes and super-villains-買書書 BuyBookBook
    Dog Man 12: The Scarlet Shedder
    銷售價格HK$79.00 原價HK$182.00
    有存貨
    A Spoonful of Time
    A Spoonful of Time
    銷售價格從 HK$57.00 原價HK$90.00
    有存貨
    The House Swap
    The House Swap
    銷售價格HK$125.00 原價HK$200.00
    有存貨
    The Deadlands: HuntedThe Deadlands: Hunted
    The Deadlands: Hunted
    銷售價格從 HK$59.00 原價HK$90.00
    有存貨
    Safiyyah's War (Hiba Noor Khan)
    Safiyyah's War (Hiba Noor Khan)
    銷售價格HK$67.00 原價HK$112.00
    有存貨

    最近瀏覽過的