Posts

advanced python syllabus

Topic: 1: Topic Name: Python OOPs : classes Objects how to create class how to create objects how to create properties how to create methods how to work with properties How to work with methods Difference between functions and methods What is Self-keyword? how to use self, What does self-keyword indicate? How to create multiple objects for the same class manipulate the properties/methods How to know the memory location of an object reference. Topic: 2 – Constructors – done importance of self-keyword in python constructors OOPs concepts (ex:inheritance) use of default pre-defined classes, use of user-defined classes, pre-defined methods user-defined methods user-defined properties Topic:3 – Modules (Pre-defined) Python Modules import keyword pre-defined modules: webbrowser sys math datetime date time various ways of importing modules import using * notation import using individual functions import using “from “ syntax from *** import

intermediate python syllabus

Introduction to Python – technology – Python – why only python? – where it is used in Industry – Organization specific uses – project specific uses IT corporates – applications of python Python – Features of Python – why it is used advantages kind of projects/applications – Software Development Lifecycle (SDLC) – where does python fit in  SDLC Python – comparison of other technologies wrt python Python’s Application in  the following : software development – software testing) – other areas of IT Industry open source software vs. paid software Versions of python software: PYTHON – 2.7.15 –(Industry Used mostly) python – 3.7.1 – Python tools/IDE – What is an IDE, Advantages of IDE over shell Explanation of python shell (IDLE – default editor) comparison of python shell vs. IDE working from command prompt of python Pycharm – community edition Pycharm – professional edition Language fundamentals: Variables in Python Print statement Print statem

Operators

*Types of Operators There are 7 python operators.  Arithmetic Operators Comparison (Relational) Operators Assignment Operators Logical Operators Bitwise Operators Membership Operators Identity Operators  **  Python Operators Precedence [more on operators] 1. Arithmetic Operators =>Types of arithmetic operators with description & example is tabulated below: Operator Description Example + Addition Addition of numbers. Simply adds numbers. 4+8=12 - Subtraction Subtracts right hand operand from left hand operand. 0 – 17 = -17 * Multiplication Multiplies values on either side of the operator 7 * 3 = 21 / Division Divides left hand operand by right hand operand 1/ 2= 0.5 % Modulus Divides left hand operand by right hand operand and returns remainder 5 % 2 = 1 ** Exponent Performs exponential (power) calculation on operators 10**2=100  // Floor Division - The division of operands whose result is the quotient in which the decimal point are removed(Numbers are

One line program

Image
One line is very important for learning a basic of programming language.  When programming beginners  are learning a new language, they must learn to write a one-line program that prints some of the message  "Hello world!" this is a simple program that shows either your computer is properly set up to run Python programs. Input: Output: