Introduction

Python hosting: PythonAnywhere: host, run and code Python in the cloud. Free tier available.

Welcome to my Python Course! 

Python is a general-purpose computer programming language. This course is suitable for both Python 2 and Python 3.

Download Python

To run Python code, you will need one of these programs: For terminal only: Apple Mac OS X, Microsoft Windows, Linux/UNIX

pycharm PyCharm, a popular Python editor

Run Python code

A python program should be save as a file with a .py extension. Try this code:

print("Hello World!")
print("This is a Python program.")

Expected output:

Hello World!
This is a Python program

If you are using the interpreter use:

python program.py
Next ⚡ Practice in Linux Terminal