Introduction to Python

Introduction to Python as a Coding Language This lesson covers the reasons that Python is a good skill to have and gives the following examples:
  • Python is one of the easiest languages to learn
  • Python allows for rapid development and testing which is essential for security professionals
  • There are many pre-written modules
Python is not very complex and takes in your code one line at a time. The instructor also discusses the three widely recognized levels of programming:
  • Low level: closest to the process and the hardest to write and read, but the most efficient and powerful
  • High level: the middle ground. Low level enough to compile into assembly and get some of the power, but there is loss of efficiency when the compiler has poor performance
  • Scripting: furthest from the processor, these usually require an interpreter and are ineffective compared to high and low level but are much easier to read and write.
Participants also learn about the Python interpreter which is what executes a Python program. It runs on a Read.Evaluate.Print (REP) loop. The instructor offers a screen by screen example of how to execute a task in the Python interpreter. Finally, the instructor offers some examples of what can be done using the following functions that are very handy and native to Python:
  • dir()
  • dir(object)
  • Help()
  • Help (object)
Learn on the go.
The app designed for the modern cyber security professional.
Get it on Google Play Get it on the App Store

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?