There is only one step from writing code to running it in interpreted languages. We do not need to compile anything into machine code.
The interpreter does all the work. It only needs to input a script — a program in an interpreted language. Within this program, we have simple sequences of commands that the computer needs to execute.
If's is convenient to write scripts in a language, it gets called a scripting language.
Python is an excellent scripting language. We do not have to formalize the sequence of commands in simple scripts. We run the scripts as simply as possible and write the commands one by one into the file:
# file <script.py> print('Hello, world!') print('This is a python-script!')
Then we call the interpreter with the received file as input:
python3 script.py Hello, world! It is a python-script!