This article we are discussing about Python
programming language and its important in Networking domain. As the technology
keep changing, it is important to learn python or network automation which
helps to automate complex task.
What is Python. ?
Python is a
computer programming language often used to build websites and software,
automate tasks, and conduct data analysis. Python is a general-purpose
language, meaning it can use to create a variety of different programs and
isn’t specialized for any specific problems. As a network engineer or
networking professionals, we can use it to automate complex tasks to easy and
save time.
Why should Network Engineers Learn Python. ?
Python is one
of the programming languages most commonly used by software engineers today. It
is also an essential skill for network
engineers. Network administrators, including Cisco, Arista,
and VMware, use Python as their language of choice.
Automating
complex task in your daily professional life is not a easy things and the
market also started changing accordingly.
How to install Python in Windows.?
its very easy
to install python on windows as we normally installing any other software.
Python has two major important version python 2.x.x and python 3.x.x. Python 2
version reached to its end of life. We are installing here below Python 3.x.x
but if you want to install python version 2 or keep both versions 2 and 3 in
your system you can check the above mentioned YouTube video.
Step 01 : Download python Setup file for windows
Open the
official Python website in your web browser.
Navigate to the Downloads tab for Windows. Choose the latest Python 3 release.
In our example, we choose the latest Python 3.10.7 version. Click on the link
to download Windows x86 executable installer if you are using a 32-bit
installer. In case your Windows installation is a 64-bit system, then download
Windows x86-64 executable installer.
Step 02 : Run Downloaded Setup File
Once the
installer is downloaded, run the Python setup file. Check the Install launcher
for all users check box. Further, you may check the Add Python 3.7 to path
check box to include the interpreter in the execution path.
Step 03 : Customize Installation
Select
Customize installation. Choose the optional features by checking the following
check boxes:
Documentation
pip
tcl/tk and IDLE
(to install tkinter and IDLE)
Python test
suite (to install the standard library test suite of Python)
Install the
global launcher for .pyfiles. This
makes it easier to start Python
Install for all
users.
click Next and
proceed the installation. Once the installation is over, you will see a Python
Setup Successful window.
Step 4: Verify the Python Installation
You have now
successfully installed Python 3.10.7 on Windows 10. You can verify if the
Python installation is successful either through the command line or through
the IDLE app that gets installed along with the installation. Search for the
command prompt and type “python”. You can see that Python 3.7.3 installation is
completed successfully.