SyntaxFix
Write A Post
Hire A Developer
Questions
1.save your file name as hey.py with the below given hello world script
#! /usr/bin/python print('Hello, world!')
2.open the terminal in that directory
$ python hey.py
or if you are using python3 then
$ python3 hey.py