Python Course Contents
Python Course Contents
CORE PYTHON
INTRODUCTION
o Understanding the Open source
o Understanding Interpreters
o Introduction to Scripting languages
o Evolution of python
o Installation of python
Variables
Various ways of printing
General data types in python
Boolean functions
Operators
o Arithmetic
o Relational
o Logical
o Assignment
o Membership
o Identity
o Unary
Type casting
Literals
Comments
Strings and its types
o Single line
o Multi line
o Doc strings
Accepting inputs.
o Raw inputs and normal inputs
Control Statements:
Sequence control
Decision control
o if(pure if)
o if-else
o if-elif
o nesting
Loop control
o for
o while
o for-else
o while-else
Tuples
o What is tuples?
o Indexing in tuples.
o Slicing in tuples.
o Immutable tuples.
o Lists and tuples.
o Functions in tuples.
Dictionaries
o Keys and values.
o In operator.
o Looping in dictionaries.
o Lookups in dictionaries.
o Dictionaries and tuples.
o Functions in dictionaries.
o Single key with multiple values
o Dictionaries vs. sets.
Functions
o Without arguments
o With normal arguments
o With positional arguments
o With named or keyword arguments
o With default arguments
o With variable length arguments
o With dictionary arguments
o Functions returning single and multiple values
o Pass by reference
o Pass by value
o Anonymous functions
o Understanding the doc strings
o Lambda, map, filters
o Understanding the return keyword
o Global scope.
o Local scope.
Modules
o What are modules?
o Understanding the namespaces
o Various ways of importing.
o Various ways of accessing
o Aliasing
o dir () function.
o Installation of a module.
o Properties of a module
o Understanding the virtualenv.
Packages
o Packaging a module
o Understanding init file
o Establishing the relation between the modules and Packages
o Sub packages
Files
o Reading and writing files
o Methods of File Objects
o Modes
o Reading
o Writing
o Modify
o Executing database queries using python scripts
o File creation in the default and specific locations
o read(),readline() and readlines()
o Merging
o Files similar schema
o Files different Schema
o Flip Kart Example
o Buffering in files.