Programming Neural Networks with Python: Your Practical Guide to Building Smart AI Systems with Machine Learning and Deep Learning (Rheinwerk Computing)
Rheinwerk Computing Programming Neural Networks with Python: Your Practical Guide to Building Smart AI Systems with Machine Learning and Deep Learning (Rheinwerk Computing)
$59.95

Beyond the Basic Stuff with Python: Best Practices for Writing Clean Code

ISBN-13: 978-1593279660, ISBN-10: 1593279663
4.3 on Goodreads
(242)
Loading Images...
Double-tap to zoom
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.
Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows.
Buy New
-38% $24.98
FREE delivery Sunday, May 24 on orders shipped by Amazon over $35
Ships from: Amazon.com
Sold by: Amazon.com
$24.98 with 38 percent savings
List Price: $39.99
FREE delivery Sunday, May 24 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Thursday, May 21. Order within 26 mins. Join Prime
In Stock
$$24.98 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$24.98
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Shipper / Seller
Amazon.com
Amazon.com
Shipper / Seller
Amazon.com
Returns
FREE 30-day refund/replacement
FREE 30-day refund/replacement
Quick refund
Usually issued within 24 hours. See exceptions
FREE return
At least one free return option available.
Convenient dropoff
At any of our 50,000 US locations.
See return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Gift options
Available at checkout
Available at checkout This item is a gift. Change
Gift options
At checkout, you can add a custom message, a gift receipt for easy returns and have the item gift-wrapped
$10.27
Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority!
Only 1 left in stock - order soon.
$$24.98 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$24.98
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by HPB-Red.
{"mobile_buybox_group_1":[{"displayPrice":"$24.98","priceAmount":24.98,"currencySymbol":"$","integerValue":"24","decimalSeparator":".","fractionalValue":"98","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"dbWcsTtiY1BVGRr9CAMN213ZpGxzzseWOfXWq4aBcF3XPAx3nVNf2SdtjybHR7gUadh0Eq%2B9OSJKmUtHcCuHU5Ozy3K6pSaQVXu2xlB7WNrl4MgqFBSY1GhcIgnTefhtKMbfG6dfRCNIYwWVgaX7KA%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$10.27","priceAmount":10.27,"currencySymbol":"$","integerValue":"10","decimalSeparator":".","fractionalValue":"27","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"dbWcsTtiY1BVGRr9CAMN213ZpGxzzseWvr65oQQ%2F6ZaT%2Blw0BJKne06hojJ9g3jOB70X%2F1NvgNfaFYd7mRw%2BRmtk70CZ2UByIDw5m%2FcXyttqXerQZuZX%2FYuRFZV18BoyLftcfCSh0kHqu2DOpLF60Be6Z7XZURVGaOa4lK2oraVqY7V34lif0TPEBpg4UpLG","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Book details

Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.
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

Review

"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

"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

About the Author

Al Sweigart is a professional software developer who teaches programming to kids and adults. Sweigart has written several bestselling programming books for beginners, including Automate the Boring Stuff with Python, Invent Your Own Computer Games with Python, Coding with Minecraft, and Cracking Codes with Python (all from No Starch Press).

About the author

Follow authors to get new release updates, plus improved recommendations.
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Al Sweigart is a software developer and tech book author living in Houston. He has written several programming books for beginners, including Automate the Boring Stuff with Python. His books are freely available under a Creative Commons license at his website https://inventwithpython.com.

Beyond the Basic Stuff with Python: Best Practices for Writing Clean Code
+
Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming
+
Automate the Boring Stuff with Python, 2nd Edition: Practical Programming for Total Beginners
Choose items to buy together.
Buy all three: $74.95
Beyond the Basic Stuff with Python: Best Practices for Writing Clean Code

-38% $24.98
List: $39.99
Details
Added to Cart
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

From the Publisher

Copy of Beyond the Basic Stuff with Python on a black background with No Starch Press Logo

Spread of Beyond the Basic Stuff with Python with computer folder image example and text

'A Small Goldmine of Knowledge'

"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

Copies of Beyond the Basic Stuff with Python on black background

'The Kind of Book Every Python Developer Can Use'

"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

Spread of Beyond the Basic Stuff with Python with 2 figures and text

'A Great New Book'

"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 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

Python for Kids by Jason Briggs
Python Crash Course 2nd edition by Eric Matthes
Automate the Boring Stuff 2nd edition by Al Sweigart
Real-World Python by Lee Vaughan
Beyond the Basic Stuff with Python by Al Sweigart
Serious Python by Julien Danjou
Customer Reviews
4.6 out of 5 stars 1,063
4.7 out of 5 stars 8,552
4.7 out of 5 stars 3,489
4.7 out of 5 stars 123
4.7 out of 5 stars 349
4.6 out of 5 stars 384
Price $9.89 $16.79 $22.44 $32.49 $24.98 $19.00
User experience level Beginner Beginner Beginner Beginner to Intermediate Intermediate Intermediate
For readers who want A gentle, kid-friendly introduction to Python A fast-paced, thorough introduction to Python A practical guide to using Python for automating tedious tasks A fun, project-based approach to useful Python tools and powerful programming techniques Masterful tips to bridge the gap between beginning programmer and professional developer Expert, practical advice and tutorials to perfect your professional Python skills
Compatible with Python version Python 3 Python 3 Python 3 Python 3 Python 3 Python 2 & 3
Special features Kid-friendly, full-color code and illustrations Covers Django, matplotlib and plotly, and pygame Covers working with files en masse, automating emails and texts, scraping the web, and more Solve realistic problems by writing Python programs; explore computer vision, AI algorithms and more Covers best practices of software development and how to use advanced tools, like code formatters and source control Covers powerful techniques like using generators, handling time zones, and applying functional programming
Page count 344 pages 544 pages 592 pages 360 pages 384 pages 240 pages

About the Author

Al Sweigart is a software developer and tech book author living in Seattle. Python is his favorite programming language, and he is the developer of several open source modules for it. His cat Zophie weighs 11 pounds.

No Starch Press logo. A black circle with a white iron with a star in the center

About the Publisher

No Starch Press has published the finest in geek entertainment since 1994, creating both timely and timeless titles like Python Crash Course, Python for Kids, How Linux Works, and Hacking: The Art of Exploitation. An independent, San Francisco-based publishing company, No Starch Press focuses on a curated list of well-crafted books that make a difference. They publish on many topics, including computer programming, cybersecurity, operating systems, and LEGO. The titles have personality, the authors are passionate experts, and all the content goes through extensive editorial and technical reviews. Long known for its fun, fearless approach to technology, No Starch Press has earned wide support from STEM enthusiasts worldwide.

Product information

Publisher No Starch Press
Publication date December 16, 2020
Language ‎English
Print length 384 pages
ISBN-10 1593279663
ISBN-13 978-1593279660
Item Weight ‎1.65 pounds
Dimensions 7.05 x 0.91 x 9.25 inches
Best Sellers Rank
Customer Reviews 4.7 out of 5 stars 349Reviews

Customers say

Customers find the book informative, with one mentioning it provides the most in-depth Python tutorials. They appreciate the content, with one customer noting it covers general conventions used by professional software developers.
AI Generated from the text of customer reviews

Select to learn more

7 customers mention content, 6 positive, 1 negative
Customers find the book's content engaging, with one customer noting it provides general conventions used by professional software developers.AI Generated from the text of customer reviews
I like the book. Instantly made some concepts make sense to me....Read more
...the Basic Stuff is not a reference, not an introduction; the content is unique and it is so well written you could read chapters at night....Read more
...I love how they present the material. It's so easy to understand that it's almost unfair. I am a huge fan of this publisher.Read more
...knack for separating wheat from chaff and understanding what a low-intermediate programmer like me will benefit from. It's superb.Read more
5 customers mention informative, 5 positive, 0 negative
Customers find the book informative, with one mentioning it provides the most in-depth Python tutorials and another noting how it helps understand GitHub.AI Generated from the text of customer reviews
...This is one of them. Good information, nicely written and useful. So far all of my "No Press" books have been good....Read more
These books, while the cover binding sucks, are excellent instructional texts....Read more
...So far, this is one of the most in depth python tutorials for people looking to get past the monotonous intro books that all say the same thing....Read more
...Advice on how to automatically format code, how to dig into Github (where I have an account but am baffled), how to ask a good question on...Read more

Submit a report

A few common reasons customers report reviews:
  • Harassment, profanity
  • Spam, advertisement, promotions
  • Given in exchange for cash, discounts
When we get your report, we'll check if the review meets our Community guidelines. If it doesn't, we'll remove it.
Sorry we couldn't load the review
Thank you for your feedback

Sorry, there was an error

Please try again later.

Top reviews from the United States

  • 5 out of 5 stars
    Verified Purchase

    Incredibly useful and interesting

    Reviewed in the United States on February 26, 2021
    Format: Paperback

    I am a "home workshop" kind of programmer. I took one CS class in college 20 years ago and did well. I use code to help with work tasks (formatting a dozen Excel worksheets) and to comb through plaintext files of novels for interesting patterns (I teach English).

    This book is just what I didn't know I wanted. Advice on how to automatically format code, how to dig into Github (where I have an account but am baffled), how to ask a good question on Stackexchange, how to name functions and variables clearly and consistently: these are all questions I have had without knowing how to articulate them.

    Exceptionally well-written, clear, well-organized, and with a remarkable knack for separating wheat from chaff and understanding what a low-intermediate programmer like me will benefit from. It's superb.

    22 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Verified Purchase

    Start of on the Right Foot

    Reviewed in the United States on February 5, 2021
    Format: Paperback

    I read this immediately after Python Crash Course. I experimented with Python about 20 years ago and now I'm back with it (and far more serious about it). There are a lot of interesting little nuances to be aware of, especially as you continue to develop larger, more in-depth code. That's what this book is. You'll get to see some of the back-end of how Python interprets code so you can avoid certain errors that would probably drive you absolutely nuts in debugging (enough of that will happen with your programming experience, you don't want to add to it).

    The other benefit of this book is to learn how to write "clean", "pythonic" code. There are general conventions that professional software developers use that you will want to use from the beginning so you don't develop bad habits. If you've already done development, some of it may be a repeat for you and you'll simply skim past. If you're new to professional software development, you'll find this extremely helpful.

    Keep in mind that the book does run through numerous applications of Python. It's a versatile language. You may have very specific needs and certain parts of the book may not pertain to you. Also, if you're just writing short scripts, this may not necessarily be for you (although you may want to pick up good habits if you think you might expand your use of Python later).

    18 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Verified Purchase

    Simplicity

    Reviewed in the United States on September 6, 2025
    Format: Paperback

    Good

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 4 out of 5 stars
    Verified Purchase

    Great info in this book.

    Reviewed in the United States on August 8, 2021
    Format: Paperback

    I like the book. Instantly made some concepts make sense to me.

    Apparently before it was packaged some stick substance was spilled on the cover. It's kind of minor, but not getting a nice fresh and clean book is kind of annoying.

    3 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Verified Purchase

    Well named! - A well written guide for next steps.

    Reviewed in the United States on June 19, 2021
    Format: Paperback

    There are dozens of books which offer a nearly identical introduction to Python. Beyond the Basic Stuff is not a reference, not an introduction; the content is unique and it is so well written you could read chapters at night.

    It offers a compilation of things you might learn the hard way after a few years of coming back to your code and wondering what "var1", "var2" and "tmp" were for... reading through print debugging statements, useless comments and duplicate code.

    The practical benefit of good style is a major theme. It also includes a valuable survey of commonly misused syntax, gotchas, efficiency, and some "esoteric oddities", Python tricks and lessons I have not seen in any other books.

    No Starch Press reliably puts out great books. The print quality, bold section headings, and immaculate editing made this a joy to read.

    9 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Verified Purchase

    Great for getting past the monotony

    Reviewed in the United States on March 9, 2021
    Format: Paperback

    One of the most boring books I’ve ever read...however, this book has taken my python game to new levels. So far, this is one of the most in depth python tutorials for people looking to get past the monotonous intro books that all say the same thing. I will continue to use this book as a reference for years to come. It sits on my desk next to my keyboard and will likely stay there for a long time.

    9 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Verified Purchase

    Another good book for the Python library

    Reviewed in the United States on June 30, 2021
    Format: Paperback

    I have several Python books that are basically reference books now. This is one of them. Good information, nicely written and useful. So far all of my "No Press" books have been good. Although, the binding does have something to be desired. But I'll continue to order from them if the book is worth having on my shelf.

    4 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Verified Purchase

    Can't say enough good.

    Reviewed in the United States on May 1, 2021
    Format: Paperback

    These books, while the cover binding sucks, are excellent instructional texts. I have three of their books on Linux, and this makes two of their books on Python. I love how they present the material. It's so easy to understand that it's almost unfair. I am a huge fan of this publisher.

    4 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.

Top reviews from other countries

  • 5 out of 5 stars
    Verified Purchase

    Very good book!

    Reviewed in Spain on October 22, 2022
    Format: Paperback

    Totally recommended except that it is printed in black and white.

    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 4 out of 5 stars
    Verified Purchase

    Great book, but still very basic.

    Reviewed in the United Kingdom on September 16, 2022
    Format: Paperback

    After coming from Eric Mathes' "Python Crash Course" I was hoping this book would maybe be a bit of a challenge. But it wasn't. I definitely learnt a few cool things and it has helped me here and there, but I wouldn't say this material is much further than 'basic' definitely still worth a read though.

    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 4 out of 5 stars
    Verified Purchase

    Interesting

    Reviewed in Germany on April 17, 2021
    Format: Paperback

    I bought this book after havind read "Automate the boring stuff with Python" and maybe I expected too much from this book. It still has plenty of useful content, but this one is less practically oriented.and its content is less.

    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 3 out of 5 stars
    Verified Purchase

    Not so beyond basic

    Reviewed in Germany on March 19, 2025
    Format: Paperback

    Can't say that I learn alot from this book. It's still pretty basic to me and I'm just a hobbist.

    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 4 out of 5 stars
    Verified Purchase

    Next Level Python!

    Reviewed in Germany on March 1, 2021
    Format: Paperback

    Very interesting for the beginner AND the advanced Python developers.

    Sending feedback...
    Thanks, we'll investigate in the next few days.

How customer reviews and ratings work

Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.Learn more how customers reviews work on Amazon