i
Python functionality and evolution
Installing Python (windows and Ubuntu)
IDLE (Integrated Development and Learning Environment)
Write the first python program and execute it
Keywords in Python
Identifiers in Python
Indentation in Python
Comments in Python
Multi-line Comments in Python
Getting user input
Python Function
Calling a function
Arguments in Function
Scope of Variables
Modules in Python
The PYTHON PATH-Variable
Python File Open
Python File Opening Modes
The file-Object-Attributes
Python File Close() Method
Python File Read/Write
Python File Position
Renaming and Deleting Files in Python
Python Directory Methods
File/Directory Methods
Exceptions in Python
The try-finally Clause
The argument of Exception
Raising Exceptions
Python Built-in Exceptions
Python OOPs Concepts
Python Classes/Objects
Creating Instance Objects
Accessing Attributes
Built-In Class Attributes
Garbage Collection
Python Inheritance
Overriding Methods
Method overriding
Data Hiding
Regular Expression
The match function
The search function
Match Object Methods & Description
Matching or Searching
Search or Replace
Regular Expression Modifiers / Option Flags
Grouping with Parentheses
Python Socket Programming
Python Socket Server
Python Socket Client
Send Data Between Clients
Python Socket or Server
Python Socket Clients
Points to ponder
The python has been an object-oriented language. This chapter helps you become expert in Python's object-oriented programming support.
Overview of OOP
Class−User-defined prototype for object that defines set of attributes that characterize any object of class. The attributes are data members and methods accessed through dot notation.
Class variable−Variable that is shared by all instances of class. Class variables are defined within class but outside any class's methods. Class variables not used as frequently as instance a variables are.
Data member − Class variable or instance variable that holds data associated with class and the objects.
Function-overloading−Assignment of more than one behavior to particular function. The operation performed varies by types of objects/arguments involved.
Instance variable−Variable that is defined inside method and belongs only to current instance of class.
Inheritance−The transfer of characteristics of class to other classes that are derived from.
Instance−An individual object of certain class. An object that belongs to a class Circle, for example, is instance of class Circle.
Instantiation − The creation of instance of class.
Method−A special kind of function that defined in class definition.
Object − A unique instance of data structure that's defined by its class. object comprises both data members and the methods.
Operator overloading−The assignment of more than the one function to particular operator.
Don't miss out!