fbpx

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 has use to teach people of all ages and skill level about 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 which 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 and easier to debug and quicker to write – all benefits for any level programmer.

 

The main reason that it is so popular is because it is 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 appeal to any cyber professional and could be done easily.

 

The versatile python allows it to accomplish many task without the assistance of additional tools but it still has the option to be used with these other tools which then give more possibilities of use. Python like other languages such as  Java script or Perl does not have to be used on 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 *