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.
The tutorial consists of Jupyter Notebook where i have used simple commands to explain python concepts.
This section will get you started with using Python and you'll be able to learn more about whatever you want after studying it.
- Python Data Types - i) Numbers
ii) String
iii) List
iv) Boolean
v) Set
vi) Dictionary - Logical Operations & Comparision Operations .if-elif, else Statements.
- File Operations : Python has a built-in open function that allows us to open and play with basic file types. First we will need a file though. We're going to use some IPython magic to create a text file!.
- OS Commands: The OS module in Python provides functions for creating and removing a directory (folder), fetching its contents, changing and identifying the current directory, etc.
- Errors & Exception Handling :
- Object Oriented Programming : For this lesson we will construct our knowledge of OOP in Python by building on the following topics:
- Objects
- Using the class keyword
- Creating class attributes
- Creating methods in a class
- Learning about Inheritance
- Learning about Polymorphism
- Learning about Special Methods for classes