Python - A short introduction

Python - Setup
WordCal - A Python Script
October 3, 2016

Python - A short introduction

Python is an object oriented programming language. It is general purpose and was created and designed with code readability in mind. It is extremely user friendly for this reason being that programmers can write a few lines of code to get things running with almost no bugs at all. Specially if you come from a programming language such as C++ or Java you'll definitely appreciate the elegance of what python has to offer.

You'll often hear that python is idiomatic. That in python you should strive to write pythonic code. This means that code written in python are succinct and that very few lines of code are written to express an idea unlike some other languages. In some ways python syntax is much more 'beautiful' than say C++ which many people find to be disgusting in comparsion to python. Consider the following example as Python code.

print("Hello, World!")

And now a look at C++ that does the same thing.

#include <iostream>
 
int main()
{
  std::cout << "Hello, World!" << std::endl;
  return 0;
}

Python is particularly a popular language in the current time specially a langauage to look into. Considering all the machine langauge and deep neutral network hype that has been going around in the coding community. TensorFlow is probably a useful library you may want to look up later on once you get familiar with things. Another one is NumPy useful for scientific purposes.

If I could sum it up with a meme it would be like this.

pythonmeme

Tags: Python Code Guide