An introduction to Python

We are not talking about the snake here. Python is now one of the most used and one of the most versatile high level languages. It is quite easy to pick up and so is used to teach people of all ages and skill level the practices of programming – flow, selection, iteration, naming conventions and much more. It is open source so is freely usable and distributed, with available community support and additional libraries to extend its capabilities. It is high level meaning most of the hardware related operations such as memory management are done for you. This results in less code that is easier to read, easier to debug and quicker to write – all benefits for any level of programmer.


The main reason that it is so popular is because it is so versatile. Python uses a library system, with each library allowing the programmer to do different things. The following cyber related tasks can be created and executed just by using these existing libraries:

• Simulation of attacks
• Port scanning
• Website cloning
• Load generation
• Creating an IDS/IPS
• Network scanning
• Geolocation
• Malware analysis

These are just a few examples of the sort of tasks that can be done with python that would be appealing to any cyber professional and could be done easily.


The versatility of python allows it to accomplish many tasks without the assistance of additional tools. However, it still has the option to be used with these other tools which then extend the possibilities of use further. Python, like other languages such as  Java script or Perl does not have to be used in isolation – it can be integrated with another language such as HTML or C++ to enhance its power. As a scripting language, it is very fast at creating and executing small repetitive tasks, which is what a lot of cyber security is.

Leave a Reply

Your email address will not be published. Required fields are marked *