Beyond the Basic Stuff with Python

Best Practices for Writing Clean Code


Edition: US - Paperback / softback
Price:
Sale priceHK$255.00 Regular priceHK$400.00
Stock:
Re-stocking soon
Product Info
English Age Adult - Adult
384 pages 7.06 x 9.24 x 0.91 in
Approx. weight: 1.65 lb
Publication date: 16 Dec,2020
Barcode: 9781593279660 No Starch Press

More books in English for Age Adult - Adult

Description

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

    badge
    Serious Python-Computing and Information Technology-買書書 BuyBookBook
    Serious Python
    Sale priceHK$262.00 Regular priceHK$400.00
    Re-stocking soon
    badge
    Automate the Boring Stuff with Python, 3rd Edition
    Automate the Boring Stuff with Python, 3rd Edition
    Sale priceHK$394.00 Regular priceHK$600.00
    Re-stocking soon
    badge
    Automate the Boring Stuff with Python, 2nd Edition-Computing and Information Technology-買書書 BuyBookBook
    Automate the Boring Stuff with Python, 2nd Edition
    Sale priceHK$262.00 Regular priceHK$400.00
    Re-stocking soon
    badge
    Strange Code-Computing and Information Technology-買書書 BuyBookBook
    Strange Code
    Sale priceHK$328.00 Regular priceHK$500.00
    Re-stocking soon
    badge
    Learn to Code by Solving Problems-Computing and Information Technology-買書書 BuyBookBook
    Learn to Code by Solving Problems
    Sale priceHK$223.00 Regular priceHK$350.00
    Re-stocking soon
    badge
    Dead Simple Python-Computing and Information Technology-買書書 BuyBookBook
    Dead Simple Python
    Sale priceHK$383.00 Regular priceHK$600.00
    Re-stocking soon
    badge
    The Art of Clean Code-Computing and Information Technology-買書書 BuyBookBook
    The Art of Clean Code
    Sale priceHK$262.00 Regular priceHK$400.00
    Re-stocking soon
    badge
    The Art of R Programming-Programming and scripting languages: general-買書書 BuyBookBook
    The Art of R Programming
    Sale priceHK$319.00 Regular priceHK$500.00
    Re-stocking soon
    badge
    R for the Rest of Us-Mathematical and statistical software-買書書 BuyBookBook
    R for the Rest of Us
    Sale priceHK$383.00 Regular priceHK$600.00
    Re-stocking soon
    badge
    Writing a C Compiler
    Writing a C Compiler
    Sale priceHK$459.00 Regular priceHK$700.00
    Re-stocking soon

    熱銷中 Top Trending

    View all
    badge
    badge
    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
    Sale priceHK$69.00 Regular priceHK$140.00
    In stock
    badge
    The Anxious Generation
    The Anxious Generation
    Sale priceFrom HK$92.00 Regular priceHK$140.00
    In stock
    badge
    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
    Sale priceHK$55.00 Regular priceHK$98.00
    In stock
    badge
    badge
    Little Prince, The Picture Book (Hardback) Harpercollins (UK)
    Little Prince, The Picture Book (Hardback)
    Sale priceHK$49.00 Regular priceHK$182.00
    In stock
    badge
    The Impossible City-Biography and memoirs-買書書 BuyBookBook
    The Impossible City
    Sale priceHK$144.00 Regular priceHK$220.00
    In stock
    badge
    Einstein the Penguin (Iona Rangeley)-Fiction: 幽默搞笑 Humorous-買書書 BuyBookBook
    Einstein the Penguin (Iona Rangeley)
    Sale priceHK$64.00 Regular priceHK$104.00
    In stock
    badge
    The Coming Wave (Export Edition)
    The Coming Wave (Export Edition)
    Sale priceHK$90.00 Regular priceHK$140.00
    In stock
    badge
    Harry Potter and the Cursed Child - Parts One & Two Playscript (J.K. Rowling)-Fiction: 奇幻魔法 Fantasy & Magical-買書書 BuyBookBook
    Harry Potter and the Cursed Child - Parts One & Two Playscript (J.K. Rowling)
    Sale priceHK$80.00 Regular priceHK$130.00
    In stock
    badge
    badge
    The Curious Incident of the Dog in the Night-Time
    The Curious Incident of the Dog in the Night-Time
    Sale priceFrom HK$49.99 Regular priceHK$100.00
    In stock
    badge
    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
    Sale priceHK$79.00 Regular priceHK$99.00
    In stock
    badge
    The Thinking Machine
    The Thinking Machine
    Sale priceFrom HK$132.00 Regular priceHK$210.00
    In stock
    badge
    算術╳幾何╳數列╳邏輯大全:MINECRAFT學霸玩數學-Children’s Educational: Mathematics/ science/ technology-買書書 BuyBookBook
    算術╳幾何╳數列╳邏輯大全:MINECRAFT學霸玩數學
    Sale priceHK$62.00 Regular priceHK$94.00
    In stock
    badge
    badge
    external-qr-hands-and-gestures-outline-outline-juicy-fish
    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)
    Sale priceFrom HK$249.00 Regular priceHK$671.00
    In stock
    badge
    Billy and the Mini Monsters #16 Monsters at Easter
    Billy and the Mini Monsters #16 Monsters at Easter
    Sale priceHK$47.00 Regular priceHK$84.00
    In stock
    badge
    96 Facts About the G.O.A.T. Athletes (Greatest of All Time)
    96 Facts About the G.O.A.T. Athletes (Greatest of All Time)
    Sale priceHK$46.00 Regular priceHK$70.00
    In stock
    badge
    Bluey Big Fun box of Books (20 books collection)-Children’s picture books-買書書 BuyBookBook
    Bluey Big Fun box of Books Collection
    Sale priceFrom HK$275.00 Regular priceHK$980.00
    In stock
    badge
    好品格童話:幼幼撕不破小小書 (紙板書 5冊套裝)-故事: 兒童繪本 Picture Books-買書書 BuyBookBook
    好品格童話:幼幼撕不破小小書 (紙板書 5冊套裝)
    Sale priceHK$46.00 Regular priceHK$66.00
    In stock
    badge
    Bunny vs Monkey: Rise of the Maniacal Badger (UK)-Fiction: 幽默搞笑 Humorous-買書書 BuyBookBook
    Bunny vs Monkey #05 Rise of the Maniacal Badger (UK)
    Sale priceHK$85.00 Regular priceHK$130.00
    In stock
    badge
    繪本工作細胞 #01 敵人入侵!白血球與細菌大對決-非故事: 常識通識 General Knowledge-買書書 BuyBookBook
    繪本工作細胞 #01 敵人入侵!白血球與細菌大對決
    Sale priceHK$76.00 Regular priceHK$117.00
    In stock
    badge
    badge
    Astrochimp (David Walliams)-Fiction: 幽默搞笑 Humorous-買書書 BuyBookBook
    Astrochimp (David Walliams)
    Sale priceHK$78.00 Regular priceHK$182.00
    In stock
    badge
    Chemistry for Beginners
    Chemistry for Beginners
    Sale priceHK$85.00 Regular priceHK$140.00
    In stock
    badge
    badge
    屁屁偵探讀本 11: 新的怪盜 (Troll)-故事: 偵探懸疑 Detective & Mystery-買書書 BuyBookBook
    屁屁偵探讀本 11: 新的怪盜 (Troll)
    Sale priceHK$63.00 Regular priceHK$100.00
    In stock
    badge
    Kay's Anatomy: A Complete (and Completely Disgusting) Guide to the Human Body (Adam Kay)-Nonfiction: 科學科技 Science & Technology-買書書 BuyBookBook
    Kay's Anatomy
    Sale priceFrom HK$69.00 Regular priceHK$100.00
    In stock
    badge
    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)
    Sale priceHK$50.00 Regular priceHK$80.00
    In stock

    Recently viewed