Git Product home page Git Product logo

python-programming's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.