Python (Basic to Advanced)

vn python logo
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.
An Introduction to Python
  • A Brief History of Python
  • Python Versions
  • Installing Python
  • Environment Variables
  • Executing Python from the Command Line
  • IDLE
  • Editing Python Files
  • Python Documentation
  • Getting Help
  • Dynamic Types
  • Python Reserved Words
  • Naming Conventions
Basic Python Syntax
  • Basic Syntax
  • Comments
  • String Values
  • String Methods
  • The format Method
  • String Operators
  • Numeric Data Types
  • Conversion Functions
  • Simple Input and Output
  • The % Method
  • The print Function
Language Components
  • Indenting Requirements
  • The if Statement
  • Relational Operators
  • Logical Operators
  • Bit Wise Operators
  • The while Loop
  • break and continue
  • The for Loop
Collections
  • Lists
  • Tuples
  • Sets
  • Dictionaries
  • Sorting Dictionaries
  • Copying Collections
Functions
  • Defining Your Own Functions
  • Parameters
  • Passing Collections to a Function
  • Variable Number of Arguments
  • Scope
File I/O
  • Open
  • Close
  • Append
  • Various file functions
  • Seak
  • Tail
Introduction to Data Analytics
  • NumPy Integration
  • Matplotlib Integration
  • Panda Integration
  • Various Examples
Modules
  • Modules
  • Standard Modules - sys
  • Standard Modules - math
  • Standard Modules - time
  • The dir Function
Exceptions
  • Errors
  • Run Time Errors
  • The Exception Model
Input and Output
  • Data Streams
  • Creating Your Own Data Streams
  • Access Modes
  • Writing Data to a File
  • Reading Data From a File
  • Additional File Methods
  • Using Pipes as Data Streams
  • Handling IO Exceptions
  • Working with Directories
  • Metadata
  • The pickle Module
Classes in Python
  • Classes in Python
  • Principles of Object Orientation
  • Creating Classes
  • Instance Methods
  • File Organization
  • Special Methods
  • Class Variables
  • Inheritance
  • Polymorphism
  • Type Identification
  • Custom Exception Classes
Regular Expressions
  • The Dot Character
  • Grouping
  • Matching at Beginning or End
  • Match Objects
  • Various Examples
Database Access
  • MySQL
  • db Operations
  • Various Examples
High Level Introduction of Python in frameworks

Python provides support for a wide range of frameworks. Generally, there are two types of Python framework used while developing applications.

  • Python Frameworks:
    • Full-Stack Frameworks
      • django
      • web2py
      • turbogears
      • cubicweb
      • giotto
      • pylon
    • Non-full-stack Frameworks
      • flask
      • bottle
      • cherrypy
      • sanic
      • tornado

Why Python to Learn?