Introduction of Python
Python is a popular programming language. It was created by Guido van Rossum, and released in 1991.
It is used for:
- web development (server-side),
- software development,
- mathematics,
- system scripting.
Python Applications
Python is known for its general purpose nature that makes it applicable in almost each domain of software development. Python as a whole can be used in any sphere of development.
Here, we are specify applications areas where python can be applied.
1) Web Applications
We can use Python to develop web applications. It provides libraries to handle internet protocols such as HTML and XML, JSON, Email processing, request, beautiful Soup, Feed parser etc. It also provides Frameworks such as Django, Pyramid, Flask etc to design and develop web based applications. Some important developments are: Python Wiki Engines, Python Blog Software etc.
2) Desktop GUI Applications
Python provides Tk GUI library to develop user interface in python based application. Some other useful toolkits wxWidgets, Kivy, pyqt that are useable on several platforms. The Kivy is popular for writing multituch applications.
3) Software Development
Python is helpful for software development process. It works as a support language and can be used for build control and management, testing etc.
4) Scientific and Numeric
Python is popular and widely used in scientific and numeric computing. Some useful library and package are SciPy, Pandas, IPython etc. SciPy is group of packages of engineering, science and mathematics.
5) Business Applications
Python is used to build Bussiness applications like ERP and e-commerce systems. Tryton is a high level application platform.
6) Console Based Application
We can use Python to develop console based applications. For example: IPython.
7) Audio or Video based Applications
Python is awesome to perform multiple tasks and can be used to develop multimedia applications. Some of real applications are: TimPlayer, cplay etc
8) 3D CAD Applications
To create CAD application Fandango is a real application which provides full features of CAD.
9) Enterprise Applications
Python can be used to create applications which can be used within an Enterprise or an Organization. Some real time applications are: OpenErp, Tryton, Picalo etc.
10) Applications for Images
Using Python several application can be developed for image. Applications developed are: VPython, Gogh, imgSeek etc.
There are several such applications which can be developed using Python
How to Download and Install Python 3.8 for Window
In this short guide, I’ll show you how to download and install Python 3.8 from scratch. I’ll also review how to run a simple code in Python.
Here are the steps that you may follow.
Steps to Download and Install Python 3.8 for Windows
Step 1: Download Python 3.8
To start, go to Download python 3.8 and then click on the button to download the latest version of Python:
Step 2: Run the .exe file
Next, run the .exe file that you just downloaded:
Step 3: Install Python 3.8
You can now start the installation of Python by clicking on Install Now:
Note that depending on your needs, you may also check the box to add Python to the path.
Your installation should now begin:
After a short period of time, your setup would be completed:
Congrats, you just installed Python for Windows!
Let’s now see how to run a simple code in Python.
Run a Code in Python
You can run a code in Python via the Python IDLE.
A quick way to find your Python IDLE on Windows is by clicking on the Start menu. You should then see the IDLE under “Recently added”
Once you click on the Python IDLE, you would then see the Shell screen:
Click on File and then select New File (alternatively, you may use the keyboard shortcut of Ctrl+N):
You would now see the following “untitled” box, where you can type your Python code:
For example, type/copy the command below. This command will print the famous expression of “Hello World”
print ("Hello World")
This is how the command would look like in the “untitled” box:
Press F5 on your keyboard. You will then get the following message to save your code:
Choose a location where the Python file will be saved on your computer. You’ll also need to type a name for your file. For example, I named the file as “Test”
Once you’re done, press Save, and you would then see the “Hello World” expression printed on your Python Shell: