Skip to content

Greycampus/python

Repository files navigation

python exclusives are followed by greencircle
mapping for programs are in program_map

TABLE OF CONTENTS

Introdution

  • History
  • Features

Installation

  • Installation and Setup
    • Installation and setup in Windows
    • Setting up environment in ubuntu

Variables

  • Scope
  • Local Variables
  • Global Variables
  • Constants

Datatypes

  • Numeric types
    • int
    • float
    • long
    • complex
  • Sequence types
    • Strings
    • list greencircle
    • tuple greencircle
    • byteArray greencircle
    • buffer greencircle
    • xrange greencircle
  • Set types
    • set greencircle
    • frozenset greencircle
  • Mapping types
    • Dictionaries greencircle

Type casting

  • Imlplicit casting
  • Explicit casting

Control Structures

  • Decision Making
    • if-else statement
    • elif statement
  • loops
    • for loop
    • while loop
    • nested loops
    • loop control statements
      • break statement
      • continue statement
      • pass statement greencircle

Package management using pip

  • pip installation greencircle
  • package installation and management using pip greencircle

File Handling

  • File Objects
    • file handling methods
  • File formats
    • csv
    • ConfigParser
    • robotparser
    • netrc
    • xdrlib

Functions

  • Defining a function
  • Calling a function
  • Pass by reference vs Pass by value
  • Function arguments
    • required arguments
    • keyword arguments greencircle
    • default arguments
    • variable length arguments
  • Anonymous Functions

Regular Expressions

  • the re module greencircle
    • re module functions greencircle

Object oriented paradigms

  • Class and its objects
  • Modules
  • Constructor and Destructor
  • Inheritence
  • polymorphism
  • Function Overriding
  • Encapsulation

Serialization

  • pickle and cPickle modules greencircle
  • marshal module greencircle

Exception handling

  • Exception handling
  • Assertions

iterators

  • itertools module greencircle

multithreading

  • thread module greencircle
  • threading module greencircle