All Projects → Akuli → Python Tutorial

Akuli / Python Tutorial

Licence: other
A Python 3 programming tutorial for beginners.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Python Tutorial

Start Machine Learning In 2020
A complete guide to start and improve in machine learning (ML), artificial intelligence (AI) in 2021 without ANY background in the field and stay up-to-date with the latest news and state-of-the-art techniques!
Stars: ✭ 357 (-44.82%)
Mutual labels:  tutorial, tutorials, learn-to-code, learning-python
Phoenix Todo List Tutorial
✅ Complete beginners tutorial building a todo list from scratch in Phoenix 1.5.3 (latest)
Stars: ✭ 65 (-89.95%)
Mutual labels:  beginner-friendly, tutorial, learn-to-code, beginner
50 Projects For React And The Static Web
⚛ 50 project ideas to learn by doing complete with project briefs, layout ideas, and resources!
Stars: ✭ 319 (-50.7%)
Mutual labels:  tutorial, tutorials, learn-to-code
Notebooks
Learn Python for free using open-source notebooks in Hebrew.
Stars: ✭ 877 (+35.55%)
Mutual labels:  tutorial, learn-to-code, learning-python
start-machine-learning
A complete guide to start and improve in machine learning (ML), artificial intelligence (AI) in 2022 without ANY background in the field and stay up-to-date with the latest news and state-of-the-art techniques!
Stars: ✭ 3,066 (+373.88%)
Mutual labels:  learning-python, tutorials, learn-to-code
Judo Heroes
A React application to showcase rendering with Universal JavaScript
Stars: ✭ 373 (-42.35%)
Mutual labels:  tutorial, tutorials
Hacktoberfest2019
Happy Hacktober! This is a beginner friendly repository made specifically for Hacktoberfest that helps you get your first PR.
Stars: ✭ 378 (-41.58%)
Mutual labels:  beginner-friendly, beginner
Lc3 Vm
Write your own virtual machine for the LC-3 computer!
Stars: ✭ 631 (-2.47%)
Mutual labels:  tutorial, tutorials
Codeparkshare
Python初学者(零基础学习Python、Python入门)书籍、视频、资料、社区推荐
Stars: ✭ 4,193 (+548.07%)
Mutual labels:  tutorial, beginner
Please Contain Yourself
A Docker tutorial written for people who don't actually know Docker already.
Stars: ✭ 385 (-40.49%)
Mutual labels:  tutorial, tutorials
Reverse Engineering Tutorials
Reverse Engineering Tutorials
Stars: ✭ 438 (-32.3%)
Mutual labels:  tutorial, tutorials
Awesome Hacktoberfest 2020
A curated list of awesome Hacktoberfest 2020 repositories, guides and resources
Stars: ✭ 349 (-46.06%)
Mutual labels:  beginner-friendly, beginner
Processing Docs
Processing reference, examples, tutorials, and website
Stars: ✭ 346 (-46.52%)
Mutual labels:  tutorial, tutorials
Hacktoberfest 2020
Welcome to Open-source! Simply add your details to contributors | Repo for Hacktoberfest 2020 ✅
Stars: ✭ 621 (-4.02%)
Mutual labels:  beginner-friendly, beginner
First Contributions
🚀✨ Help beginners to contribute to open source projects
Stars: ✭ 21,839 (+3275.43%)
Mutual labels:  tutorial, tutorials
Hands On Nltk Tutorial
The hands-on NLTK tutorial for NLP in Python
Stars: ✭ 419 (-35.24%)
Mutual labels:  tutorial, tutorials
Phoenix Chat Example
💬 A Step-by-Step Beginners Tutorial for Building, Testing & Deploying a Chat app in Phoenix 1.5.5 🚀
Stars: ✭ 452 (-30.14%)
Mutual labels:  tutorial, beginner
Problem Solving Javascript
🔥 Crack you JS interviews ⚡ Collection of most common JS Interview questions with Unit Tests 🚀
Stars: ✭ 451 (-30.29%)
Mutual labels:  beginner-friendly, beginner
Flutter For Android Developers
Compilation of Flutter materials for Android developers
Stars: ✭ 488 (-24.57%)
Mutual labels:  beginner-friendly, tutorial
Boost Cookbook
Online examples from "Boost C++ Application Development Cookbook":
Stars: ✭ 306 (-52.7%)
Mutual labels:  tutorial, tutorials

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.5 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.

  1. What is programming?
  2. Installing Python
  3. Getting started with Python
  4. ThinkPython: The way of the program
  5. Variables, Booleans and None
  6. Using functions
  7. Setting up an editor
  8. If, else and elif
  9. Handy stuff with strings
  10. Lists and tuples
  11. Loops
  12. Trey Hunner: 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.

  1. Handy data types
  2. Advanced stuff with functions
  3. Magic methods
  4. Iterables, iterators and generators

Other things this tutorial comes with

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.

Go here 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?

  1. Go here if you aren't here already.

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

    Download ZIP

  3. 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.

  4. 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. 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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].