WHAT IS PYTHON ?

Python is an object-oriented, high-level programming language with integrated dynamic semantics primarily for web and app development. It is extremely attractive in the field of Rapid Application Development because it offers dynamic typing and dynamic binding options.

Python is relatively simple, so it’s easy to learn since it requires a unique syntax that focuses on readability. Developers can read and translate Python code much easier than other languages. In turn, this reduces the cost of program maintenance and development because it allows teams to work collaboratively without significant language and experience barriers.

Why Python?

  • Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).
  • Python has a simple syntax similar to the English language.
  • Python has syntax that allows developers to write programs with fewer lines than some other programming languages.
  • Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick.
  • Python can be treated in a procedural way, an object-orientated way or a functional way.

Course Content

    Python  Course Contents

     

    Getting started with Python programming

    • Python features
        • Scope of python
        • Python products
    • Python Download, Installation and Environment Setup
    • First python program execution “Hello World”

     

    Variables, keywords and Operators

    • Variables
    • Memory mapping of variables
    • Keywords in Python
    • Operators
        • Arithmetic operators
        • Operator precedence
        • Logical operators
        • Membership Operators
    • Basics I/O and Type casting

     

    User defined functions

    • Decision making statements: if-elif-else
    • for’ loop
        • Repetition using for loop: range() function
    • ‘while’ loop
        • Infinite loop
    • Loop control keywords: break, continue, pass

     

    User defined functions

    • Introduction to functions
    • Function definition and return
    • Function call and reuse
    • Function parameters
    • Function recipe and docstring
    • Programming with functions
    • Namespaces and scope of variable
    • Recursive functions
    • *args and **kwargs
    • Modules and Packages

     

    Strings

    • Introduction to Python ‘string’ data type
    • Properties of a string
    • String built-in functions
    • Programming with strings
    • String formatting

     

    Lists and Tuples

    • Introduction to Python ‘list’ data type
    • Properties of a list
    • List built-in functions
    • Programming with lists
    • List comprehension
    • Introduction to Python ‘tuple’ data type
    • Tuples as Read only lists
    • Project: Employee Data Management by using List

    Dictionary and Sets

    • Introduction to Python ‘dictionary’ data type
    • Creating a dictionary
    • Dictionary built-in functions
    • Introduction to Python ‘set’ data type
    • Set and set properties
    • Set built-in functions
    • Project: Banking System project by using Dictionary

    File handing – Part 1

    • Working with files
    • File objects and Modes of file operations
    • Reading, writing and use of ‘with’ keyword
    • read(), readline(), readlines(), seek(), tell() methods
    • Handling comma separated value files (CSV file handling)
    • CSV reading and writing with DictWriter

    File handing – Part 2

    • JSON parsing
    • XML parsing with DOM and ElementTree
    • Pickling (Pickle file handling)
    • Project: Fruit Store data management

     

    Email sending Automation

    • Understanding SMTP
    • Sending email with sendmail() function
    • Sending email using Gmail
    • Email sending with attachment and MIME
    • Project: Mass mailer

    Exception Handling in Python

    • Understanding exceptions
    • try, except, else and finally
    • raising exceptions with: raise, assert
    • Creating your own exception classes

    Regular expression

    • Pattern matching
    • Meta characters for making patterns
    • re flags
    • Project: (Super market) Extract data and calculate the daily profit

    Object oriented programming with Python

    • OOPs concepts: Classes and objects
    • Making of a class and module namespace
    • Static and instance variables
    • Deep understanding of self and init ()
    • Inheritance and Overriding

    Object oriented programming continued

    • Overloading functions
    • Operator overloading
    • Encapsulation: Hiding attributes
    • Understanding threads
    • Multithreading

    Database connectivity with Python

    • Working with MySQL database
    • Working with Sqlite3 database

    Tkinter GUI Application

    • Introduction to Tkinter module
    • Using root window
    • Creating frames
    • Using Labels and Buttons
    • Using Text and Entry widgets
    • KM to M converter application