Skip to content

webvalley/python-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python programming tutorial @ WebValley 2019

This is a concise Python 3 programming tutorial.

I try to show everything with simple code examples; there are no long and complicated explanations with fancy words.

This tutorial is composed in a basic part, aimed at people with no programming experience at all or very little programming experience, and an advance one for people who want to learn more about python.

If you have programmed a lot in the past using some other language you may want to read the official tutorial also.

You can use Python 3.6 or any newer Python with this tutorial. Don't use Python 2.

If you write a Python 2 program now someone will need to convert it to Python 3 later, so it's best to just write Python 3 to begin with.

Python 3 code will work just fine in Python 4, so you don't need to worry about that. Python 2 also has horrible Unicode problems, so it's difficult to write Python 2 code that works correctly with non-English characters (like π and ♫).

Content

The tutorial consists of three main sections:

Introduction

This section will introduce to the concept of computer programming, and to the very basics of the Python programming language:

  1. The Way of the Program
  2. Variables, Statements and Expressions
  3. Introduction to Functions
  4. Setting up an editor
  5. Conditional Statements

Regardless you have already programmed before, using or not Python, I would suggest to take a look at this introductory section anyway. There is always time to skip, and you decide your learning pace.

Part I: Data Structures

This section will get you started with basic Python code and data structures.

  1. Pythonic Functions
  2. Collections and Sequences
  3. Dictionaries
  4. Iterators, Generators, Comprehensions

Part II: Classes and OOP

  1. Classes and OOP
  2. Modules
  3. Python Data Model
  4. Function as Objects
  5. Magic Methods
  6. Exceptions
  7. (Extra) Pythonic Coding Style

About

Python Programming @ WebValley 2019

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages