Working with Python Scripting
Python is a simple-to-read-and-write, object-oriented programming language. The language is perfect for security professionals because it allows for fast test development as well as reusable objects to be used in the future.
Throughout this chapter, we will explain data structures and collections such as lists, dictionaries, tuples, and iterators. We will review how to work with functions, classes, objects, files, and exceptions management. We will also learn how to work with modules, manage dependencies, and virtual environments. Finally, we will review development environments for script development in Python like Python IDLE or PyCharm.
The following topics will be covered in this chapter:
- Learn about data structures and collections in Python
- Working with functions, classes and objects in Python
- Working with files in Python
- Learn about and understand exceptions management in Python
- Python modules and packages
- Managing dependencies and virtual environments
- Development environments for Python scripting