1 minute read

How can you execute your first Python Script?

>>> print(“hello, world”)File “<stdin>”,line 1Print(“Hello, world!”)^Indentation error: unexpected IndentIF you are interested to learn python please go through python certificationWorking with Python script from command lines:-

It’s important to recognize that python will take indentation. While they are Interpreting a command line. So if we have some space before the scripted command. The compiler will, through an error as that shown in the below.

Advertisement

This article is from: