Hi, welcome back.
Okay, so I think we are ready to start playing around with Python. Before you can work with Python, you need to install it on your system. We’re also going to be using something called an IDE or an editor. I’m using VS Code, but you can download whichever one you like.
Once installed, Python will be ready on your machine.
Now that you have Python installed, you need somewhere to write your Python code. While you could use any text editor, I highly recommend Visual Studio Code (VS Code). It’s a powerful and flexible editor for almost any programming language.
.deb or .rpm packages.The installation is straightforward, just like installing any other software on your system. Once installed, open VS Code — your interface should look similar to mine.
Before writing any Python code, you need to install an extension:
This extension makes writing and running Python code much easier.
main.py. (.py is the extension for Python files.)print("Hello World")
This is known as the Hello World program — a traditional first step in any programming language.
Hello World
🎉 Congratulations! You just wrote and executed your first Python program.
Not a member yet? Register now
Are you a member? Login now