Getting Started with Python on Ubuntu - Writing Your First Program Lab

Infosec Learning
Virtual Lab

The Python Security Lab Series examines programming with Python in the Ubuntu environment using a CLI (Command Line Interface). Python is a powerful scripting tool that can be very useful for a cyber security professional. While a Graphical User Interface provides easy point and click operation for the user, its functionality is limited to manual i...

Time
1 hour 30 minutes
Difficulty
Beginner
Share
NEED TO TRAIN YOUR TEAM? LEARN MORE
Join over 3 million cybersecurity professionals advancing their career
Sign up with
or

Already have an account? Sign In »

Overview

The Python Security Lab Series examines programming with Python in the Ubuntu environment using a CLI (Command Line Interface). Python is a powerful scripting tool that can be very useful for a cyber security professional. While a Graphical User Interface provides easy point and click operation for the user, its functionality is limited to manual interaction with the user. The CLI is preferred by “power users” for many applications and lends itself very well to automated tasks.

This lab provides step-by-step instructions on how to setup a software development environment in Ubuntu and to write and test a basic Python script.

Programs typically have bugs in them when they are first written. Recognizing the causes makes fixing the bugs easy. These labs purposely introduce the most common bugs and highlight the causes to help reduce the learning curve and make programming more enjoyable.