Skip to main content

Python Basic Introduction



PYTHON


❃Installation of python on computer :-
               you can download  & install python exe file from python.org website.Link is given below.
           -- ---download python---- ------------------------


       ➧ python is easy to learn ,powerful programming language.It has efficient high-level data structures and simple but effective approach to object oriented programming.python's elegant syntax and dynamic typing ,together with it's interpreted nature,make it an ideal language for scripting and rapid application development in many platforms.



       ➧ The Python interpreter and the extensive standard library are freely available in source or binary form for all major platforms (windows,linux,mac os.......)from python web site,and may be freely distributed.The same site also contains distributions of and pointers to many third party python modules,programs and tools and additional documentation.

What are the features of python  programming ?



➤ A simple language which is easier to learn
         Python has a very simple elegant syntax.It's much easier to read and write when Python programs compared to other languages like :C,JAVA,C# .Python makes programming fun and allows you to focus on the solution rather than syntax.If you are a newbie,it's great choice to start your journey with python.

➤ Free and open-source
         You can freely use and distribute python,even for commercial use.Not only can you use and distribute Softwares written  in it.you can even make changes to python's source code.Python has a large community constantly improving it in each iteration.

➤ Portability
         You can make python programs from one platform to another,and run it without any changes.
It runs seamlessly on almost all platforms including Widows,Mac OS,Linux.

➤ Extensible and Embeddable
           Suppose an application requires high performance.You can easily combine pieces of C/C++ or other languages with python code.
This will give your application high performance as well as scripting capabilities which other languages may not provide out of the box.

➤ A high-level interpreted language
            Unlike c/c++ ,you don't have to worry about daunting tasks like memory management ,garbage collection and so on. Likewise,when you run Python code,it automatically converts your code to the language that your computer understands.You don't need to worry about any low-level operations.

➤ Large standard libraries to solve common tasks
             Python has a number of standard libraries which makes the tasks of programmer easier since you don't have to write all the code yourself.For example :  Need to connect MYSQL database on a web server?     You can use MySQLdb library using, import MySQLdb.
Standard libraries in python are well tested and used by hundreds of people.So you can sure that it won't break your application.

➤ Object-oriented
            Everything in python is an object.Object oriented programming(OOP) helps you to solve a complex problem intuitively.With OOP,you are able to divide these complex problems into smaller sets by creating objects.



     we will keep our first step to python programming from next lesson.
--------------------------- --stay with us-------------------------------
-------------see you at next post-----------------------------
---------Nigma--------------------------
-------2019/12/04-----------------------

Comments

Popular posts from this blog

Evolution of programming languages

Evolution of programming Languages        All programming languages developed  from the inception can be classified  into four main classes .     1.First Generation programming  languages (Machine languages )     2. Second  Generation  programming  languages (Assembly languages)     3.Third Generation programming  languages (High level languages)     4.Fourth  Generation  programming  languages (Artificial languages )       One of the key features apparent  in the evolution of the programming  languages is that the programming languages have become easily understandable and usable over the years . 1)First Generation programming languages                                All machine  languages fall into this category. Common features :-...

Introduction to the Arduino

Arduino is an open-source electronics platform based on easy-to-use hardware and software.  Arduino boards  are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. What is a microcontroller? A  microcontroller  ( MCU  for  microcontroller unit ) is a small  computer  on a single  metal-oxide-semiconductor  (MOS)  integrated circuit  chip. In modern terminology, it is similar to, but less sophisticated than, a  system on a chip  (SoC); an SoC may include a microcontroller as one of its components. A micro-controller contains one or more  CPUs  ( processor cores ) along with  memory  and programmable  input/output  peripherals In the computers a...