INTRODUCTION
I completed this short room on TryHackMe titled Python Basics, available here. It covered Python fundamentals: syntax, conditionals, loops, functions, and file handling. The objective was to demonstrate how scripting can support cybersecurity operations — from automating tasks to modifying files and controlling systems through the command line. Each section was straightforward; I’ve included screenshots of the tasks I completed.
HELLO WORLD
MATHEMATICAL OPERATIONS
VARIABLES
LOGICAL AND BOOLEAN OPERATORS
LOOPS
FUNCTIONS
FILES
IMPORTS
There was no interactive task in this section, but I learned how to use Python libraries — collections of prewritten functions — to extend my code.
CONCLUSION
This was a worthwhile revision. While I already knew most of the content, it was refreshing to revisit the basics. Since scripting is essential in cybersecurity workflows, this was a helpful reintroduction to Python.
Final screenshot below