Bash Python Here
Wie man Python als Here Document in der Bash aufruft
Basiswissen
Bei einem Here Document wird die Standardausgabe der Shell zur Standardeingabe eines Befehls gemacht:
Beispiel 1
Python << EOF
print ("hallo");
EOF
Beispiel 2
Python << EOF
a=9**0.5
print a
EOF