PYTHON

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics

What is Python?

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python’s simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.

Often, programmers fall in love with Python because of the increased productivity it provides. Since there is no compilation step, the edit-test-debug cycle is incredibly fast. Debugging Python programs is easy: a bug or bad input will never cause a segmentation fault. Instead, when the interpreter discovers an error, it raises an exception. When the program doesn’t catch the exception, the interpreter prints a stack trace. A source level debugger allows inspection of local and global variables, evaluation of arbitrary expressions, setting breakpoints, stepping through the code a line at a time, and so on. The debugger is written in Python itself, testifying to Python’s introspective power. On the other hand, often the quickest way to debug a program is to add a few print statements to the source: the fast edit-test-debug cycle makes this simple approach very effective.

PYTHON SYLLABUS:-

Module 1 – Introduction to Python and Computer Programming

  • Python – a tool, not a reptile
  • There is more than one Python
  • Let’s start our Python adventure

Module 2 – Data Types, Variables, Basic Input-Output Operations, Basic Operators

  • Your first program
  • Python literals
  • Operators – data manipulation tools
  • Variables – data-shaped boxes
  • How to talk to computer?

Module 3 – Boolean Values, Conditional Execution, Loops, Lists and List Processing, Logical and Bitwise Operations

  • Making decisions in Python
  • Python’s loops
  • Logic and bit operations in Python
  • Lists – collections of data
  • Sorting simple lists – the bubble sort algorithm
  • Lists – some more details
  • Lists in advanced applications

Module 4 – Functions, Tuples, Dictionaries, and Data Processing

  • Writing functions in Python
  • How functions communicate with their environment?
  • Returning a result from a function
  • Scopes in Python
  • Let’s make some fun… sorry, functions
  • Tuples and dictionaries

Module 5 – Modules, Packages, String and List Methods, and Exceptions

  • Using modules
  • Some useful modules
  • What is package?
  • Errors – the programmer’s daily bread
  • The anatomy of exception
  • Some of the most useful exceptions
  • Characters and strings vs. computers
  • Python’s nature of strings
  • String methods
  • Strings in action
  • Four simple programs

Module 6 – The Object-Oriented Approach: Classes, Methods, Objects, and the Standard Objective Features; Exception Handling, and Working with Files

  • Basic concepts of object programming
  • A short journey from procedural to object approach
  • Properties
  • Methods
  • Inheritance – one of object programming foundations
  • Exceptions once again
  • Generators and closures
  • Processing files
  • Working with real files

Download Syallabus