Leanpub Header

Skip to main content

Minimal Python

Even books that have "learn" in the title introduce readers to hopelessly complex topics like object-oriented programming or concurrency. It turns out YAGNI (You Ain't Gonna Need It). Why teach students topics they won't use either ever, or not for a few years?

This book is available in multiple packages!

Pick Your Package
PDF
EPUB
WEB
103
Readers
162
Pages
30,179Words
About

About

About the Book

If you are reading this book you may be interested in programming for the first time. Maybe it isn't your first time trying to learn to program either? This book is very different than other books that claim to teach you programming. It eliminates a large part of Python that you simply don't need.

Even books that have "learn" in the title introduce readers to hopelessly complex topics like object-oriented programming or concurrency. It turns out YAGNI (You Ain't Gonna Need It). Why teach students topics they won't use either ever, or not for a few years?

Don't worry if you failed before, you may have read a book written by an expert for an expert. Let's fix that and teach you just what you need to get started in a career in Data Science, Data Engineering, Software Engineering or Cloud Computing.

Share this book

Installments completed

20 / 20

Packages

Pick Your Package

All packages include the ebook in the following formats: PDF, EPUB, and Web

The Book

Minimum price

Suggested price$39.99

$29.99

    The book + Code Samples IPython Notebooks

    Minimum price

    Suggested price$49.99

    Get a thorough introduction with interactive examples that expand and reuse samples from the book. These IPython notebooks can be opened with Google's Colab as well as locally in your computer.

    $49.99

    • Statements and data structures
      IPython Notebook with examples to get started with Python statements and data structures
    • Functions and Testing
      IPython notebook with an introduction to Python functions and testing with Pytest

    Author

    About the Authors

    Noah Gift

    Noah Gift lectures at MSDS, at Northwestern, Duke MIDS Graduate Data Science Program, and the Graduate Data Science program at UC Berkeley and the UC Davis Graduate School of Management MSBA program, and UNC Charlotte Data Science Initiative. He is teaching and designing graduate machine learning, A.I., Data Science courses, and consulting on Machine Learning and Cloud Architecture for students and faculty. These responsibilities include leading a multi-cloud certification initiative for students. 

    Noah is a Python Software Foundation Fellow.  He currently holds the following industry certifications for AWS:  AWS Subject Matter Expert (SME) on Machine LearningAWS Certified Solutions Architect, and AWS Certified Machine Learning SpecialistAWS Certified Big Data Specialist, AWS Academy Accredited Instructor, AWS Faculty Ambassador.  He also is certified on both the Google and Azure platform: Google Certified Professional Cloud ArchitectCertified Microsoft MTA on Python. He has published over 100 technical publications including multiple books on subjects ranging from Cloud Machine Learning to DevOps. Publications appear in Forbes, IBM, Red Hat, Microsoft, O'Reilly, Pearson, Udacity, Coursera, datascience.com, and DataCamp. Workshops and Talks around the world for organizations including NASA, PayPal, PyCon, Strata, O'Reilly Software Architecture Conference, and FooCamp. As an SME on Machine Learning for AWS, he helped created the AWS Machine Learning certification.

    He has worked in roles ranging from CTO, General Manager, Consulting CTO, Consulting Chief Data Scientist, and Cloud Architect. This experience has been with a wide variety of companies: ABC, Caltech, Sony Imageworks, Disney Feature Animation, Weta Digital, AT&T, Turner Studios, and Linden Lab, and industries: Television, Film, Games, SaaS, Sports, Telecommunications. He has film credits in many major motion pictures for technical work, including Avatar, Spider-Man 3, and Superman Returns.

    He has been responsible for shipping many new products at multiple companies that generated millions of dollars of revenue and had a global scale. Currently, he is consulting startups and other companies, on Machine Learning, Cloud Architecture, and CTO level consulting as the founder of Pragmatic A.I. Labs.

    His most recent books are:

    His most recent video courses are:

    His most recent online courses are:

    You can follow Noah Gift on social media and on the web at:

    Leanpub Podcast

    Episode 170

    An Interview with Noah Gift

    Alfredo Deza

    Alfredo Deza is a passionate software engineer, avid open source developer, Vim plugin author, photographer, and former Olympic athlete. He has given several lectures around the world about Open Source Software, personal development, and professional sports. He has rebuilt company infrastructure, designed shared storage, and replaced complex build systems, always in search of efficient and resilient environments. With a strong belief in testing and documentation, he continues to drive robust development practices wherever he is.

    As a spirited knowledge-craving developer Alfredo can be found giving presentations in local groups about Python, file systems and storage, system administration, and professional sports.

    His most recent publication is Python For DevOps (O'reilly), and you can follow him on LinkedIn.

    Leanpub Podcast

    Episode 171

    An Interview with Alfredo Deza

    Contents

    Table of Contents

    Introduction

    Chapter 1: Learn to execute commands in Python

    1. Execute Commands in Colab Notebook
    2. Write procedural code
    3. Use simple expressions and variables
    4. Work with the built-in types
    5. Printing
    6. Perform basic math operations
    7. Use classes and objects with dot notation
    8. Learn to loop with for loops
    9. Repeat with while loops
    10. Learn to handle exceptions
    11. Use conditionals
    12. Conclusion

    Chapter 2: Learn to store data

    1. Is all about state
    2. Lists
    3. Tuples
    4. List comprehensions
    5. The fantastic dictionary
    6. Sets

    Chapter 3: Learn to create functions

    1. What can you do with a function?

    Chapter 4: Test your functions

    1. Don’t use unittest
    2. Pytest
    3. Questioning testing

    Chapter 5: Build a command-line tool with Click

    1. Useful basics
    2. Standard library tools
    3. Introduction to Click
    4. Recommendations

    Chapter 6: Build a web application with Flask

    1. HTTP Basics
    2. The most simple web application
    3. URLs to Python code
    4. Creating an application

    Chapter 7: Do some data science with Pandas

    1. Data Science Workflow
    2. Ingest
    3. EDA
    4. Date-based EDA
    5. State-Based Analysis
    6. Search for Features: Political, Health and Finance

    Chapter 8: Data Science Libraries

    1. Learn numpy
    2. Learn sklearn
    3. Learn pandas
    4. Learn tensorflow
    5. Use seaborn for 2D plots
    6. Specialized Visualization Libraries
    7. Learn Natural Language Processing Libraries
    8. 2D Plots
    9. Protein-Fat-Carb 3D Plot

    Chapter 9: How to get a job in tech

    1. Build a real portfolio project and share it
    2. User experience
    3. Tests

    Chapter 10: Case Studies and War Stories

    1. War Story: Multi-inheritance hell
    2. Interview Question Breakdown: Greedy Coin
    3. Interview Question Breakdown: Traveling Salesman problem
    4. Interview Question Breakdown: Introduction to Big O notation in Python
    5. Interviewing
    6. Good interviews

    Get the free sample chapters

    Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

    The Leanpub 60 Day 100% Happiness Guarantee

    Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

    Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

    You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

    So, there's no reason not to click the Add to Cart button, is there?

    See full terms...

    Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

    We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

    (Yes, some authors have already earned much more than that on Leanpub.)

    In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

    Learn more about writing on Leanpub

    Free Updates. DRM Free.

    If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

    Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

    Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

    Learn more about Leanpub's ebook formats and where to read them

    Write and Publish on Leanpub

    You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

    Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

    Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

    Learn more about writing on Leanpub