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

5 1

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

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay