Unit 2 Part 1 Python 3

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 52

Functions

Defining and Calling a Function


Pass by Object Reference

[ ‘TVTI’, ’new’ ]
Function - Local and Global Variables
Function - Local and Global Variables (Contd...)
Various Forms of Function Arguments
Various Forms of Function Arguments
Various Forms of Function Arguments (Contd...)
Errors and Exception Handling
Common Exception Errors - I
Common Exception Errors - II
Common Exception Errors - III
Common Exception Errors - IV
try..except..else Clause
try...finally Clause
Ignore Errors
Assert Statement
Standard Exception Hierarchy
Standard Library
Built-in Functions
Sorting
Sorting (Contd...)
Lambda Functions
Sorting - Operator. itemgetter()
Sorting - Operator.itemgetter()
dir()
dir() (Contd...)
Why Modules?
Why Modules? (Contd...)
Modules
Modules (Contd...)
sys Modules
sys Modules (Contd...)
os and subprocess Modules
os Module
os Module (Contd...)
os.path
os.path (Contd...)
Math Module
Math Number-theoretic Functions
Math - Power and Logarithmic Functions
Math - Trigonometric Functions
Math - angular, hyperbolic, constant
Random
Date Time Module
Date Time Module (Contd...)
Date Time Module (Contd...)
Packaging
Ways to Install Module/Package

You might also like