For example:
I have a test.py
print("hello world") a=1 print(a)
and a shell script test.sh
python test.py