33 captures
24 Dec 2017 - 16 Dec 2025
Feb MAR Apr
31
2024 2025 2026
success
fail

About this capture

COLLECTED BY

Collection: Certificate Transparency

TIMESTAMPS

The Wayback Machine - http://web.archive.org/web/20250331003227/https://github.com/Akuli/python-tutorial
 

Skip to content  

Navigation Menu

 






Sign in  












GitHub Copilot
 Write better code with AI  



Security
 Find and fix vulnerabilities  



Actions
 Automate any workflow  



Codespaces
 Instant dev environments  



Issues
 Plan and track work  



Code Review
 Manage code changes  



Discussions
 Collaborate outside of code  



Code Search
 Find more, search less  





Explore  

All features  

Documentation  

GitHub Skills  

Blog  









By company size  

Enterprises  

Small and medium teams  

Startups  

Nonprofits  



By use case  

DevSecOps  

DevOps  

CI/CD  

View all use cases  





By industry  

Healthcare  

Financial services  

Manufacturing  

Government  

View all industries  




View all solutions  






Topics  

AI

DevOps  

Security  

Software Development  

View all  





Explore  

Learning Pathways  

Events & Webinars  

Ebooks & Whitepapers  

Customer Stories  

Partners  

Executive Insights  













GitHub Sponsors
 Fund open source developers  







The ReadME Project
 GitHub community articles  



Repositories  

Topics  

Trending  

Collections  













Enterprise platform
 AI-powered developer platform  



Available add-ons  



Advanced Security
 Enterprise-grade security features  



Copilot for business
 Enterprise-grade AI features  



Premium Support
 Enterprise-grade 24/7 support  






Pricing
 



Search or jump to...  

Search code, repositories, users, issues, pull requests...




Clear

Search syntax tips 










Provide feedback  







We read every piece of feedback, and take your input very seriously.


 
 


Saved searches  

Use saved searches to filter your results more quickly

 






To see all available qualifiers, see our documentation.






 
 

Sign in  
/;ref_cta:Sign up;ref_loc:header logged out"}">  Sign up    




You signed in with another tab or window. Reload to refresh your session.  You signed out in another tab or window. Reload to refresh your session.  You switched accounts on another tab or window. Reload to refresh your session.  Dismiss alert  







{{ message }}
 








/   python-tutorial   Public  




Notifications  You must be signed in to change notification settings  

Fork  617  


Star  1.4k
 






A Python 3 programming tutorial for beginners.  

License


View license  

1.4k  stars   617  forks   Branches   Tags   Activity  



Star
 

Notifications  You must be signed in to change notification settings  




Code  

Issues  5

Pull requests  3

Actions  

Projects    

Security  

Insights  


Additional navigation options  




Code  

Issues  

Pull requests  

Actions  

Projects  

Security  

Insights  




Akuli/python-tutorial








 master
BranchesTags



Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

424 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


README
License

Python programming tutorial for beginners


This is a concise Python 3 programming tutorial for people who think that reading is boring. I try to show everything with simple code examples; there are no long and complicated explanations with fancy words. If you have never programmed before click here to find out what programming is like and get started.

This tutorial is aimed at people with no programming experience at all or very little programming experience. If you have programmed a lot in the past using some other language you may want to read the official tutorial instead.

You can use Python 3.6 or any newer Python with this tutorial. Don't use Python 2 because it's no longer supported.

List of contents


The tutorial consists of two sections:

Basics


This section will get you started with using Python and you'll be able to learn more about whatever you want after studying it.


(一)What is programming?

(二)Installing Python

(三)Getting started with Python

(四)ThinkPython: The way of the program

(五)Variables, Booleans and None

(六)Using functions

(七)Setting up an editor

(八)If, else and elif

(九)Handy stuff with strings

(十)Lists and tuples

(11)Loops

(12)zip and enumerate

(13)Dictionaries

(14)Defining functions

(15)Writing a larger program

(16)What is true?

(17)Files

(18)Modules

(19)Exceptions

(20)Classes

(21)Docstrings


Advanced


If you want to learn more advanced techniques, you can also read this section. Most of the techniques explained here are great when you're working on a large project, and your code would be really repetitive without these things.

You can experiment with these things freely, but please don't use these techniques just because you know how to use them. Prefer the simple techniques from the Basics part instead when possible. Simple is better than complex.


(一)Handy data types

(二)Advanced stuff with functions

(三)Magic methods

(四)Iterables, iterators and generators


Other things this tutorial comes with



Important: getting help

Contact me

Answers for exercises in basics and advanced sections

The TODO list


Frequently asked questions


How can I thank you for writing and sharing this tutorial?


You can star this tutorial. Starring is free for you, but it tells me and other people that you like this tutorial.

Gohere if you aren't here already and click the "Star" button in the top right corner. You will be asked to create a GitHub account if you don't already have one.

How can I read this tutorial without an Internet connection?




Gohere if you aren't here already.



Click the big green "Clone or download" button in the top right of the page, then click "Download ZIP".

Download ZIP


Extract the ZIP and open it. Unfortunately I don't have any more specific instructions because how exactly this is done depends on which operating system you run.



Run make-html.py and follow the instructions.



If you have git and you know how to use it, you can also clone the repository instead of downloading a zip and extracting it. An advantage with doing it this way is that you don't need to download the whole tutorial again to get the latest version of it, all you need to do is to pull with git and run make-html.py again.

Authors


I'm Akuli and I have written most of this tutorial, but other people have helped me with it. See github's contributors page for details.


If you have trouble with this tutorial, please tell me about it and I'll make this tutorial better, or ask for help online. If you like this tutorial, please give it a star.

You may use this tutorial freely at your own risk. See LICENSE.

List of contents
 





About


A Python 3 programming tutorial for beginners.  

Topics



python   tutorial   learning-python  oop   tutorials   learn-to-code   python-3   beginner   beginner-friendly  python-tutorial  

Resources


Readme  

License


View license  

Activity 

Stars


1.4k  stars 

Watchers


76 watching 

Forks


617  forks 

Report repository  





Releases


No releases published
 



Packages  


No packages published 








Contributors  11


















Languages


 


Python  99.0%  

CSS  1.0%  









Footer



© 2025 GitHub, Inc.  


Terms  

Privacy  

Security  

Status  

Docs  

Contact  






You cant perform that action at this time.