Starting with Python!

Python is a high-level programming language. This means it uses natural language elements to program instead of ones and zeros, making it easier and more understandable.

It’s also an interpreted language: it uses an interpreter to execute the program directly instead of using a compiler to translate it into machine code. It was created by Guido van Rossum and released in 1991.

To program using Python on Windows, I installed Cygwin (a tool that provides a Linux-like environment) and Atom (a text editor) but it can be any other like Notepad++ or Sublime Text. Here is a know-how on installing these software for Windows users: https://www.davidbaumgold.com/tutorials/set-up-python-windows/

The first program one usually does when learning a new language is the output “Hello, World!”. In Python, this simple command line looks like this:

hello

And runs like this:

hello-world

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s