0% found this document useful (0 votes)
7 views2 pages

1 - Introduction To Python

Python is a popular, free, and open-source programming language known for its simple syntax and versatility across various platforms. It can be used for tasks such as scripting, web development, machine learning, data analysis, and game creation. The document outlines a course designed to teach Python basics with a focus on networking applications, providing practical examples and resources for further learning.

Uploaded by

danigavaldao
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

1 - Introduction To Python

Python is a popular, free, and open-source programming language known for its simple syntax and versatility across various platforms. It can be used for tasks such as scripting, web development, machine learning, data analysis, and game creation. The document outlines a course designed to teach Python basics with a focus on networking applications, providing practical examples and resources for further learning.

Uploaded by

danigavaldao
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Introduction to Python

Python is one of the most popular programming languages in the world. It is free and open-
source. Python is developed by Guido van Rossum in the late 1980s and named not after the
snake but after the television show “Monty Python”.

VIDEO 1

The syntax of Python is simple, which makes it easy to read and write code, even if you’ve
programmed anything before. Python runs on an interactive interpreter, which means that you
can execute code right away, you don’t have to compile your code before you can run it.

All major platforms are supported, including Windows, macOS, and Linux. There is an active
user community, and there are thousands of packages you can use.

Python Usage

Let me start with some examples for those of us who are interested in Python for anything
network-related:

 Scripting: Do you have any repetitive tasks that could be automated? Write a Python
script to do it for you.

 Interact with network devices: You can connect with your network devices through
SSH or the API to configure the device or to fetch information from it.

 Embedded Applications: You can use MicroPython on IoT devices.

You can also use Python for:

 Web development: With the Django or Flask framework, you can build websites. Some
big websites that use Django are NASA, Instagram, and Bitbucket.

 Machine learning: Create programs that can automatically learn and improve.

 Data analysis: Analyze data and create visualizations with charts.

 Games: You can create games in Python.

 Desktop applications: It’s possible to create GUI applications.

How to learn Python

If you want, there is a lot to learn about Python. However, someone who intends to use Python
to build a website or to create games is going to use Python in a different way than someone
who wants to use it for network automation.

In the Python course, I explain the basics of Python to get you started as quickly as possible. It
should take a couple of hours to go through. Once you understand the basics, you can dive into
specifics for your work field. For example, learning how to use SSH and REST APIs in Python.
The examples I provide are with “networking” in mind. Instead of strings like “hello world”, I’ll
use examples with hostnames or sentences you might encounter when working with network
devices.

If you are new to programming, it can be difficult to see the “big picture”. Don’t worry about
this for now. Focus on understanding the syntax and how the different components of Python
work. At the end of the course, we’ll look at some examples where we use all the different bits
and pieces together to create an actual script that connects to a router and retrieves
information.

Within the lessons, I added links to other Python lessons. I suggest going through the course
from start to finish. When you have completed the course, the links can be useful as reference
material.

You might also like