Data Structures in Python

Virtual Practice Lab
Practice Test
Data Structures in Python

Data Structures in Python

This lesson offers a breakdown of what the module will cover. Participants will learn about the following:

  • Data structures in python: what are they, how they work, how to use them
  • File I/O: Storing data on disk and retrieving it
  • Generators and iterators
  • Networking
    • Sockets
      • IPv4/v6
      • TCP/UDP
    • Classes
    • Exception handling
    • Special functions: lambda, with
    • Interfacing with the OS/Taking command line arguments

A Python data structure is:

  • A logical means of organizing data
  • Almost every programming language makes use of them to efficiently store and use data

Python has a number of built-in data structures, specifically:

  • Lists: this is an array which is stored in a specific order
  • Dictionaries: data structures made up of ‘key value’ pairs

Participants in this lesson also learn about files in Python. The instructor offers step by step instructions on how to open a file and the file methods you can use on a file, such as printing a string to a file using the file.write(string) method. Participants also learn about the generator function and iterators.

Learn on the go.
The app designed for the modern cyber security professional.
Get it on Google PlayGet it on the App Store
Practice Labs and Exam Vouchers

Congratulations! You're taking the first step to getting certified. Get some hands on experience with available practice labs OR save some money, support Cybrary, and purchase discounted exam vouchers. Ready to earn your next industry certification? Join cyber security's largest community and start learning today.


Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Cybrary On The Go

Get the Cybrary app for Android for online and offline viewing of our lessons.

Get it on Google Play

Support Cybrary

Donate Here to Get This Month's Donor Badge

Skip to toolbar

We recommend always using caution when following any link

Are you sure you want to continue?