• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

Roger Perkin

Network Automation Architect

  • Network Automation
    • Network Automation Courses
    • What is NetDevOps?
    • Workflow Orchestration
    • Ansible Automation Platform
    • Ansible Workshop
    • What is Network Automation?
    • Network Automation Tools
    • ContainerLab
    • Ansible Training
      • What is Ansible?
      • Ansible Tutorial for Beginners
      • Ansible Network Automation
      • Ansible Hosts File
    • Python Network Automation
      • Nornir
      • Python Network Automation Course
      • Python for Network Engineers
      • Python VENV / Virtual Environment Tutorial
      • Python Tutorial for Beginners
      • pyATS
    • Network Source of Truth
      • NetBox Training
      • Infrahub
    • NetDevops
    • DevOps Tutorial
      • Git Training
      • Terraform Training
      • Linux Training
      • Kubernetes Training
      • Devops Training Course
      • Azure Devops Training
    • Terraform
    • GIT
      • Git Commands
      • What is GitHub?
    • Docker Training
    • Confluence
    • Microsoft Azure
  • Cisco
    • ISE
    • SD WAN Training
    • Password Recovery
    • Software-Upgrade-Guides
    • BGP
    • Data Center
    • WIRELESS
  • CCIE
  • Blog
  • About
    • My Red Special Guitar
  • Contact

Python Tutorial

Home

Python Tutorial for Beginners

If you have just discovered Python and looking for a Python tutorial for beginners, you are in the right place!

Python is used by so many people and is by far the most popular programming language on the planet!

The first thing to consider is what are you learning Python for? Are you doing it at school, are you a data scientist, are you using it for network automation? As you can see Python is a very versatile language and can be used for so many tasks.

With this Python tutorial It is very easy to get started and great fun to learn.

What is Python used for?

Python is one of the most popular programming languages in use today, you will see it used across many industries, including

  • Data Science
  • Web Development
  • Network Automation
  • Game Development
  • Data Analytics

Some of biggest web platforms on the internet run on Python, including YouTube, Netflix & Instagram!

Now is the time o get started with Python Programming, more and more companies are looking for Python skills and with so many Python Tutorials out there where do you start, my advice is to get a simple book.

Python for Beginners Book

Whilst there are 100’s of books you can buy to teach yourself Python, I would recommend these two to learn Python programming.

Head first Python is a very easy to get started with book and Introducing Python is a bit more in depth. If you know zero Python I would start with the Head First book and if you know the concepts of programming and have a small understanding of Python jump into the O’Reilly book as it will take you a lot further.

How to install Python on Windows

The first thing to so is to install Python, some operating systems come with Python already installed.

Head over to https://www.python.org/downloads/ and download Python. Installing Python is relatively easy, just select your OS and follow the instructions.

Python Editor

You can write Python code in Notepad if you want, but most people use a dedicated editor or IDE (integrated development environment).

The most popular free editor for Python right now is Visual Studio Code

It is open source and written by Microsoft and is updated regularly and is currently the most popular editor among developers.

There is a great tutorial here – https://code.visualstudio.com/docs/languages/python

I would highly recommend you download this!

Once you have written your first Python program in VSCode you will not turn back.

Python Programming Language

The Python programming language is the most popular programming language in use today.

It was created by Guido van Rossum and famously named after Monty Python

Python is a scripting language which means it does not have to be compiled, it just runs through the code you write. It is much easier to read and write Python programs compared to other languages like C++ and Java.

The object oriented design of Python is clean and easy to get started.

Python is also referred to as a high level programming language as it’s syntax so closely resembles the English language. It is highly readable.

If you are really serious about Python I would recommend you sign up for a Python course, there are so many available and many free.

There is a great one by Google which they put all their new employees through.
https://developers.google.com/edu/python

So get started with your first hello world program and you will be hooked.

The next step is to get a basic understanding about Python Data Types.

I’m Roger Perkin, I am CCIE #50038 and based in the UK and if you are looking for the best way to learn Python – my answer is to just get started.

Further tutorials will cover machine learning & web development.

Sidebar

Quick Links

Python Data Types
- Strings
- Dictionaries

Let’s get started

Take a look at my premium courses on Ansible, Nornir & Git or buy them all with the Network Automation Bundle!

Network Automation Courses

Navigation

Python VENV Tutorial
Python for Network Engineers

Network Automation
Network Automation Courses
Network Discovery Tools
Network Automation Conferences
Ansible Training
What is Ansible?
Devops Tutorial
Network Source of Truth
DevOps Glossary
Network Monitoring Software

Contact

Contact

Get in touch with me here

[email protected]

  • Twitter
  • LinkedIn
  • YouTube
Buy me a coffeeBuy me a coffee

Copyright © 2025 · Roger Perkin · All Rights Reserved · Privacy Policy – Terms