GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - learnbyexample/100_page_python_intro: :snake: Short, introductory guide for the Python programming language :zap:

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
exercises
exercises
 
 
images
images
 
 
programs
programs
 
 
sample_chapters
sample_chapters
 
 
100_page_python_intro.md
100_page_python_intro.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
Version_changes.md
Version_changes.md
 
 

Repository files navigation

100 Page Python Intro

This book is a short, introductory guide for those already familiar with programming basics. Visit https://youtu.be/aoWJzaSs0cs for a short video about the book.

100 Page Python Intro ebook cover image

The book also includes exercises to test your understanding, which are presented together as a single file in this repo — Exercises.md.

You can also use this interactive TUI app to practice some of the exercises from the book.

See Version_changes.md to keep track of changes made to the book.


E-book

  • You can purchase the pdf/epub versions of the book using these links:
    • https://leanpub.com/100pagepythonintro
    • https://learnbyexample.gumroad.com/l/100pagepythonintro
  • You can also get the book as part of these bundles:
    • All books bundle bundle from https://leanpub.com/b/learnbyexample-all-books or https://learnbyexample.gumroad.com/l/all-books
    • Learn by example Python bundle from https://leanpub.com/b/python-bundle or https://learnbyexample.gumroad.com/l/python-bundle
  • See https://learnbyexample.github.io/books/ for a list of other books

For a preview of the book, see sample chapters.

The book can also be viewed as a single markdown file in this repo. See my blogpost on generating pdf/epub from markdown using pandoc if you are interested in the ebook creation process.

For the web version of the book, visit https://learnbyexample.github.io/100_page_python_intro/


Testimonials

It's very thorough, written with care, and presented in a way that makes sense. Even as an intermediate Python programmer, I found use in this book.

— feedback by Andrew Healey on Hacker News


Feedback and Contributing

⚠️ ⚠️ Please DO NOT submit pull requests. Main reason being any modification requires changes in multiple places.

I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.

You can reach me via:

  • Issue Manager: https://github.com/learnbyexample/100_page_python_intro/issues
  • E-mail: echo 'bGVhcm5ieWV4YW1wbGUubmV0QGdtYWlsLmNvbQo=' | base64 --decode
  • Twitter: https://twitter.com/learn_byexample

Table of Contents

  1. Preface
  2. Introduction
  3. Numeric data types
  4. Strings and user input
  5. Defining functions
  6. Control structures
  7. Importing and creating modules
  8. Installing modules and Virtual environments
  9. Exception handling
  10. Debugging
  11. Testing
  12. Tuple and Sequence operations
  13. List
  14. Mutability
  15. Dict
  16. Set
  17. Text processing
  18. Comprehensions and Generator expressions
  19. Dealing with files
  20. Executing external commands
  21. Command line arguments

Acknowledgements

  • Official Python website — documentation and examples
  • stackoverflow and unix.stackexchange — for getting answers to pertinent questions on Python, Shell and programming in general
  • /r/learnpython and /r/learnprogramming — helpful forum for beginners
  • /r/Python/ — general Python discussion
  • tex.stackexchange — for help on pandoc and tex related questions
  • canva — cover image
  • oxipng, pngquant and svgcleaner — optimizing images
  • Warning and Info icons by Amada44 under public domain
  • Dean Clark and Elijah for catching a few typos
  • mdBook — for web version of the book
    • mdBook-pagetoc — for adding table of contents for each chapter
    • minify-html — for minifying html files

License

The book is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

The code snippets are licensed under MIT, see LICENSE file.

About

🐍 Short, introductory guide for the Python programming language 📗 ⚡

learnbyexample.github.io/100_page_python_intro/

Topics

beginnerebookexercisesintermediatelearning-by-doingpython

Resources

Readme
MIT license
Activity

Stars

255 stars

Watchers

9 watching

Forks

45 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.