DEV Community

loading...
Cover image for Python for Beginners - Part 1 - Hello World

Python for Beginners - Part 1 - Hello World

lucianopereira86 profile image LUCIANO DE SOUSA PEREIRA Originally published at lucianopereira.netlify.com ・2 min read

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)

pic
Editor guide