Skip to main content

Python Tutorial

Python Tutorial

The first chapter in this tutorial begins by emphasising the main features of Python programming language.  Python is simple to use, interpreter based, cross-platform, dynamically typed and extensible.

Some important applications for which Python is used include data science, machine learning, image processing etc. IT giants such as Google and Facebook use Python in their applications and actively support the Python community.

This chapter takes a brief look at the history of development of Python. Currently, two versions of Python (Python 2.7 and Python 3.7) are hosted on Python software foundation’s official website, although maintenance and support of Python 2.x is set to be discontinued after 2020.


Beginner


Introduction

Text input and output

String slices

Variables

Lists

If statements

Functions

Global and Local variables

Scope

Loops

Range

Tuples

Dictionaries

Datatype casting

Random numbers

Read file

Write file

Objects and classes

Python class

Encapsulation

Method overloading

Inheritance

Polymorphism

Inner classes

Factory method

Recursive functions

Logging

Subprocess

Threading

Lambda

Sets

Modules

Graphs

State Machine

Tree

Binary numbers

Python Debugging

Data and databases


Read file

Write file

Flat database (Spreadsheets)

Database: SQLite

Database: MySQL

Database: ORM with SqlAlchemy

Web


Python Web Development

Flask Getting started

Flask Jinja2 template engine

Flask Create an Epic Web App

Flask Login authentication

Flask Login authentication with Google

Flask Login authentication with Twitter

Flask JSON and Google Charts API

Flask Web Forms

Flask Loading static pages

Flask Boilerplate template

Flask and great looking charts using Chart.js

JSON encoding and decoding

Creating a webbrowser with Python and PyQT

Creating a gmail wordcloud

Django Getting started

Django Building a note taking app

GUI (Graphical Interfaces)


Introduction to GUI

PyQt4

PyQt5

Tkinter

wxPython

Network


HTTP client and server (network sockets programming tutorial)

HTTP client with requests library

HTTP download file

HTTP parse HTML and XHTML

FTP client in Python

Building an IRC (ro)bot

Read Email using POP3

Extract links from web page

Plotting


Matplotlib Line chart

Matplotlib Histogram

Matplotlib Bar chart

Matplotlib Pie chart

Matplotlib Legend

Matplotlib save figure to image

Matplotlib update plot

Matplotlib time plot

Advanced


Regular Expressions

An Introduction to Building Quantum Computing Applications with Python

Other


Create a chrome plugin with Python

Fun tricks with Python

Speech engines with Python (tutorial)

Android


SL4A Android Python Scripting

Android Development in Python with QPython

Computer Vision


Image data and operations

Image histogram

Car tracking with cascades

Detect faces in Google Hangouts video

Object detection with tempate matching

Netflix like Thumbnails with Python

Game


Simple guessing game (text based)

Game programming with PyGame

Make the game Snake with PyGame

How to draw a maze in PyGame

Computer AI in PyGame

Sidescroller in Pygame

Robotics


Speech Recognition using Google Speech API

Personal Assistant (Jarvis)


Python Tutorial

Comments

Popular posts from this blog

machine learning tutorial

machine learning tutorial Data scientists often have to communicate results to other people. In my case, my supervisors might want to see some numbers or I have to write up the main insights of some work for a paper. This is pretty straightforward — I just copy and paste into an email or a Latex document. But what if I want to send someone an actual model that I have trained, so that they can either evaluate or use it? If the person in question is technical enough, then I can just save the model to disk and email that, along with some Jupyter notebooks. But what if you want someone in marketing to try out a model, or you want to share it with friends who might find it interesting? In this case, you’ll need to make your code accessible to them in a way they are familiar with. The three parts to this tutorial are: Creating a simple model that can be deployed to the web, where users can input variables to get predictions. Building the components needed by Flask microframework to create a...