python is a simple programming language capable of big things. It features wide support across network devices.
There are many reasons that I have decided to learn Python here are just some of them:
It is fun! I have not learned a programming language in a long, long time. Python is often used in Software Defined Networking (SDN) Environments. Did I mention it is fun? I want to really branch out in my IT skill set in 2017. The First ApplicationI hope you enjoy my notes on my learning here at AJSNetworking.com. I am using the fun text Learn Python the Hard Way .
I am on a Mac which provides the luxury of having Python built right in (just like linux). For those of you on windows head over to python.org/download.
For composing my Python applications I am using the BBEdit from BareBones.com. After thirty days of the full version, you can continue to use it free for your text editing work. Advanced functionality like Web authoring goes away, but no big deal for me.
I will use BBEdit to create my first Python application! How exciting. Here it is.
print “Hello World!” print “This is awesome!” print “I am a programmer!”I will save this complex program :wink: as a file named ex1.py .
I will now run this application in the Terminal application in Mac OS. This is done with the command:
python ex1.py
Make sure you are in the directory where that file exists of course!
Final ThoughtsThis is an excellent time to practice with some of your directory and file management skills from within Terminal. I found myself using the following commands in this first application and its execution:
mkdir Make directory cd Change directory ls List the contents of a directoryThanks for reading and I hope your first Python application was a success as well.
