PYTHON SETUP KEYWORDS IDENTIFIERS VARIABLES DATATYPES OPERATORS CONTROL STATEMENTS CONDITIONAL LOOPING TRANSFER DATA STRUCTURES STRINGS LIST TUPLE DICTIONARY SETS STACKS QUEUES LINKEDLIST FUNCTIONS AND ADVANCED FUNCTIONS OOPs ==> OBJECT ORIENTED PROGRAMMING CLASS, OBJECT, METHOD, CONSTRUCOR INHERITANCE, ENCAPSULATION, POLYMORPHISM ETC. FILE HANDLING EXCEPTION HANDLING ================================================= INTRODUCTION TO PYTHON: ======================= GUIDO VAN ROSSUM, 1989 1991 VERSIONS: VERSION-1: 1991 VERISON-2: 2000 VERSION-3: 2008 3.12.6 ROOTS FOR PYTHON: C, C++ : FUNCTIONAL APPROACH C++ : OBJECT ORIENTED PERL, SHELL SCRIPTING : SCRIPTING WHAT IS THE PYTHON? =================== 1) FUNCTIONAL PROGRAMMING LANGUAGE function ==> block of operation => named take inputs process inputs output len("string") ==> 6 2) Object Oriented Programming High Level Programming languages if, else, import etc. three types: 1) structural : C 2) object oriented: Python, C++, Java etc. 3) object based: VB Script OOPs ==> Object Oriented Programming System Class, Object, Methods, Constructors, encapsulation, polymorphism, abstraction etc. 3) Scripting Language. ========================================== Why python? =========== 1) Easy Syntax complex application with minimal code. anyone can understand and read python easily. 2) Open source 3) freeware ================================== Features of Python: ================== 1) High Level Programming language 2) General Purpose Programming Language Desktop apps : notepad, excel, calculator etc. Web Apps: gmail, youtube etc. Distributed Apps ==> banking apps apps ====> apps ex: phonepe checking balance upi <================> your bank app/union bank apps 3) Easy programming language 4) Scripting language 5) Object Oriented Programming language 6) Dynamically Typed Programming Language Statically ==> C, C++ Strongly ==> Java Dynamically ex: int a = 10; correct int b = 1.23; correct ==> b = 1 int a = 10; correct int a = 1.23; incorrect