
Before we move to Python programming, let's learn what programming is?
What is Programming?
In simple words, It is the process of creating a set of instructions that tells the computer how to perform a task. Programming can be done by using the variety of the computer "languages" such as C, C++, SQL, JAVA, and PYTHON.
What is mean by programming language?
The computer programming language is any of the various languages (like C, C++, Java, etc )for expressing a set of detailed instructions for a digital computer.
Why it is called Python?
When Python founder Guido Van Rossum was beginning implementing the Python, he was also reading the published script from "Monty Python's Flying Circus", a BBC comedy series from the 1970s. Guido Van Rossum thought that he needed a name for a programming language that was unique, very short, and slightly mysterious. so, Guido van Rossum decided to call the language Python.
Features of Python:-
- Easy to Learn:- Python programming has very few keywords, has a simple structure, and a clearly defined syntax.
- Easy to read:− Python programming code is more clearly defined and visible to the eyes.
- Easy to maintain − Python programming source code is fairly easy to maintain.
- A broad standard library − Python programming language has large quantities of the library that is very portable and cross-platform compatible with UNIX, Windows, and Macintosh.
- Interactive Mode −Python programming language support for an interactive mode that allows interactive testing and the debugging of snippets of code.
- Portable − Python programming language can be run on a wide variety of hardware platforms and has the same interface on all the platforms.
- Extendable − Here is one feature that you can add low-level modules to the Python interpreter. These modules enable the programmers to add or to customize their tools to be more efficient.
- Databases − Python provides interfaces to all the major commercial databases.
- GUI(Graphical User Interface) Programming − Python supports GUI(Graphical User Interface) applications that can be created and ported to many system calls, libraries, and windows systems, such as Windows MFC, Macintosh, and the X Window system of Unix.
- Scalable − Python provides better structure and support for large programs than shell scripting.
Famous Companies that Use Python:-
- Spotify
- NASA
- Quora
- Netflix
- Dropbox
- Uber
- Youtube
- YAHOO!
- Vmware
- IBM
Applications of python:-
- Desktop Applications
- Artificial Intelligence
- Web Applications(Django)
- Database Applications
- Networking
- Gaming
- Data Analytics & Data Science
- Machine Learning
- Internet of Things(IoT)
- Image Processing
- Desktop GUI
- Web Scraping Applications
- Business Applications
- Audio and Video Applications
- CAD Applications
- Embedded Applications
- Software development
- Graphic Design Applications
Installation Of Python Software For Windows:-
1. Open a Web browser and go to https://www.python.org/downloads/ and download the latest version software of Python that is comfortable with your system type (32 bit, 64 bit).
2. After downloading, install on the system.
Set Path for Windows:-
1. Copy the python path.
go to the C drive/Users/Lenovo/AppData/Local/Programs/Python/Python37
Note:-
(This is the path of my system and I am Using python 3.7 version<64bit> ).
2.paste that path into the system variable.
Go to the Control Panel/All Control Panel Items/System/Advanced system setting/Environment variable/System variable/click on the path/and paste the link which u have copied/and then click on apply.
How to check if the path is set:-
1.press Windows+R key.
2.Type cmd and search It.
3.Type python and press Enter.
4. It represents this type of platform👇. If it is not shown, your path is not set.
A first simple program in Python:-
>>> print("Welcome to the Python tutorial provided by Technogyyan.")
Welcome to the Python tutorial provided by Technogyyan.
In the command line, the program and the output show like this.
---------------------------------------------------------
In the IDLE python shell, the program and the output show like this.
---------------------------------------------------------
Thank You!!
Post a Comment