Insights for productivity and tech related info

Hello World in Python

2019-09-29 Code.Reportpython

Hello, World!

Python is a very simple scripting language. It encourages programers to write code without many boilerplates. One of the most simple directive in Python is the “print” directive , which simply prints out a line. We are using here the Python 3 syntax because it more semantically correct and supports newer features, and Python 2 will not be maintained anymore beyond 2020.

First of all, create a file with a python extension, for example Write on the file the print call with “Hello World” text:

print("Hello World.")

Then you can simply call python passing your file as parameter. You can do it on a windows cmd terminal, or on a linux terminal.


It will print Hello World.

Need help installing Python?

If you need help installing Python, check out our previous post:

Installing Python on Linux

Installing Python on Windows