INTRODUCTION:
* What is a python
* Python use cases
* Birth of Python and its timeline
* Features
* Versions
* Python Virtual Machine (PVM)
Introduction to script
* What is script
* What is program
* Types of script
* Types of programming language
Environment set up
Writing first program in Python
Basics
* Keywords
* Variables
* Naming conventions
TYPES AND OPERATORS
* INTRODUCTION TO DATA TYPES.
* TYPE CASTING IN PYTHON.
* VARIOUS WAYS OF PRINTING.
* BOOLEAN OPERATORS.
* PLAYING WITH NUMBERS.
* PLAYING WITH STRINGS.
* String quotes.
* Raw strings.
* DOC STRING & COMMENTS. * ACCEPTING INPUTS.
CONTROL STATEMENTS
* CONDITIONAL STATEMENTS
* Introduction
* Boolean expressions
* Logical Operators
* Using If condition
* Pass
* Applying PEP-8 standards.
• LOOPING STATEMENTS
* for
* while
* range* break
* continue
LISTS
* WHAT ARE LISTS?
* MUTABLE LISTS.
* IN OPERATOR.
* TRAVERSING A LIST.
* LIST OPERATIONS.
* INDEXING.
* SLICING.
* CONVERTING A LIST TO STRING.
* CONVERTING A STRING TO LIST.
* ALIASING IN LISTS.
* FUNCTIONS IN LISTS.
TUPLES * WHAT IS TUPLES.
* INDEXING IN TUPLES.
* SLICING IN TUPLES.
* IMMUTABLE TUPLES.
* PACKING AND UNPACKING.
* LISTS AND TUPLES.
* FUNCTIONS IN TUPLES.
DICTIONARIES
WHAT ARE DICTIONARIES?
* KEYS AND VALUES.
* IN OPERATOR.
* LOOPING IN DICTIONARIES.
* LOOKUPS IN DICTIONARIES.
* DICTIONARIES AND TUPLES.
* FUNCTIONS IN DICTIONARIES.
* DICTIONARIES VS SETS.
FUNCTIONS
* FUNCTION BASICS
* SCOPE RULES IN FUNCTIONS
* Global scope.
* Local scope.
* Locals.
* Globals.
* Global.
* UNDERSTANDING THE RETURN KEYWORD.
* ARGUMENT PASSING
* Default argument list.
* Keyword arguments.
* UNDERSTANDING THE DOCSTRINGS. • LIST COMPREHENSIONS.
* LAMBDA, MAP, FILTERS.
* UNDERSTANDING THE CLOSURES.
* DECORATORS.
MODULES
* WHAT ARE MODULES?
* UNDERSTANDING THE NAMESPACES
* VARIOUS WAYS OF IMPORTING.
* “RELOAD” OPERATION.
* UNDERSTANDING ABOUT SYS.PATH
* DIR () FUNCTION.
* UNDERSTAND THE __MAIN__ AND __NAME__
* OPERATION.
* INSTALLATION OF A MODULE.
* UNDERSTANDING THE VIRTUALENV.
* PACKAGING A MODULE.
* PACKAGES.
EXCEPTIONS
* WHAT ARE EXCEPTIONS?
* SIMULATING ERRORS.
* VARIOUS TYPES OF EXCEPTIONS.
* EXCEPTION HANDLING – TRY,EXCEPT,ELSE,FINALLY
* TRAPPING ERRORS.
* RAISING EXCEPTIONS.
* CUSTOMIZED EXCEPTIONS.
FILES
* READING AND WRITING FILES
* METHODS OF FILE OBJECTS
* Reading
* Writing
* Modify
* BUFFERING IN FILES.
* PARSING A XML FILES.
* PARSING A XLS FILES.
* PICKLES
* OUTPUT USING PICKLE
* INTRODUCTION TO SUBPROCESS, OS
Advanced Python:
CLASSES
* OOP: WHAT IS OBJECT ORIENTED PROGRAMMING.
* UNDERSTANDING THE CLASSES IN PYTHON.
* LETS CREATE A BANK ACCOUNT.
* USING THE CLASS STATEMENT
* METHODS IN CLASSES.
* Constructor.
* Magic methods.
* UNDERSTANDING INHERITANCE.
* UNDERSTANDING POLYMORPHISM.
* UNDERSTANDING ENCAPSULATION.
* OPERATOR OVERLOADING.
REGULAR EXPRESSION
* UNDERSTANDING THE REGULAR EXPRESSIONS.
* GETTING STARTED.
* COMPILING A PATTERN.
* FLAGS – IGNORECASE, DOTALL •WORKING WITH MULTIPLE FLAGS.
* SEARCH VS MATCH. • RAW STRING NOTATIONS.
* SPECIAL CHARACTERS
* Globbling characters
* Anchors
* character
MULTI THREADING
* STARTING A THREAD
* THREAD MODULE
* SYNCHRONIZING THREADS
DATABASE CONNECTIVITY
* INTRODUCTION
* WORKING WITH MYSQL DATABASES.
* How to install mysql-server
* How to know what modules to install
* Creating a database
* Creation of the user and giving grants
* Granting access to the users* Connecting mysql and python
* PYTHON AND MYSQL:
* Creating and populating a table
* Retrieving data
* Dictionary cursors
* Column headers
* INTEGRATION WITH VARIOUS DATABASES.
* INTRODUCTION TO ORM AND SQLALCHEMY.
PYTHON FRAMEWORKS
* FRAMEWORK INTRODUCTION
* FLASK/DJANO FRAMEWORK