DEV Community

Cover image for Python for Beginners - Part 1 - Hello World
LUCIANO DE SOUSA PEREIRA
LUCIANO DE SOUSA PEREIRA

Posted on • Originally published at lucianopereira.netlify.com

Python for Beginners - Part 1 - Hello World

python_titulo
Python is a high level program language used for multiple purposes like artificial intelligence and web applications. It has lots of similarities with JavaScript but is a lot easier and direct to the point.

This guide will explain the basics about Python presented by Microsoft's amazing playlist called Python for Beginners.

Objective

In this first part, you will learn how to install, configure and program in Python by using Visual Studio Code.

The content displayed here can be found in this GitHub repository: Python HelloWorld.

Instructions

Acess the Python Website and download the latest version.

print01

Follow the instalation process until the end with the default configuration.

print02

Open Visual Studio Code and install the Python extension.

print03

Create a file named "helloworld.py" containing the code:

print('Hello World')

Run the command below in the terminal:

python .\helloworld.py

The message will be printed with success.

print04

Conclusion

It was easy to print a single line in Python. In the next chapters, you will learn about common functions, operations and sintax.

Video References

Discussion (0)