30 likes | 84 Views
Lync School provides you best classroom/online training on Python. This course helps you to build the real-time web application in ExpressJS. Express.JS acts as a framework for the web applications built on node.<br>For more details http://lyncschool.in/python-training<br>
E N D
Python: Python is a high level and object oriented scripting language. It is used as general purpose programming language. It was introduced by Guido Van Rossum. It is interpreted and interactive language. Interpreted: Python is processed by an interpreter during run time. You can directly execute the program. Interactive: Python prompt directly interact with interpreter to write programs. Object –Oriented: Python is an Object Oriented Programming Language. It Encapsulates Code within Objects. Beginner’s Language: Python is designed in a way that users can easily read it. Python is best for Beginners and it supports the Application from Simple Text Processing to WWW Browsers to Games Features of python: Simple: Python is simple, basic and easy language for beginners. It has easy structure and clearly defined syntax. Easy to learn: Python is easy to get started for a programmer. Free and open source: Python is easily available in internet and is a free source with free of cost. High Level Language: In python, we no need to bother about memory used by program. Portable: As python is an Open Source, it is easily modified due to its Portable nature. Python Program can run on any Platform. Interpreted: In python, there are no separate compilation and execution steps. This is similar to PERL and PHP. Object-Oriented Language: Python supports both procedure oriented programming and object oriented programming language. In procedure-oriented programming, programs are built with procedures or functions which are reusable. In object-oriented programming, programs are built with objects which combine both data and functionality. When compared to C++ or Java, Python is Simple and Object-Oriented. Extensible: Low-level modules can be added to the python interpreter, which helps programmers to enable programs to add or customize their tools to be more efficient. Embedded: Python can be embedded in any other programs like C/C++ to give scripting
capabilities to programmers use. Extensive Libraries: Python standard Library is huge. There are high quality library such as Python Imaging Library. It is a simple image manipulation library. Download Python: Download python documentation from the official site: https://www.python.org/doc/ Python installation: To install Python, You need to download Binary code application for your platform and install it. UNIX and LINUX installation: ● Open web browser and go to https://www.python.org/downloads/ ● In the above link, you can see the zipped source code available for UNIX/LINUX ● Here you can download and extract files. ● If needed customize some options. ● run./ configure script ● Install Now, install window and set a path in Unix/Linux (it is case sensitive) or windows(not case sensitive) . Or install Mac OS and set path at Unix/Linux. Spaces and Indentations in Python: The space in the indentation is variable, but all statements within the block must be intended by the same amount. Multi-Line statements: Generally, Statements in Python ends with a new line. Statements with {}, [] or () need not use the line continuation character. Quotations in Python: Python accepts single (‘), double (“) and triple (‘’’) quotes to represent string literals, when same quote starts and ends the string. Comments in Python: We use “#” sign for comments in Python.
Use Blank Lines: In python, we can use blank line to terminate a multiline statement. Blank line means line a line containing white spaces. Python don’t accepts this. Multiple statements using single line: We can write multiple statements on single line using semi colon (;). Garbage Collection: Python deletes unnecessary objects to free some memory space. In pythons, garbage collector runs during the time of program execution and triggers it when an object reference counts reach zero. Class Inheritance: Class Inheritance means deriving new child class from its parent class. A child class can override data members and methods from its parent class. This article gives the basic concepts of python programming language.