cat > /tmp/x.py << "EOF" print("hi") EOF python3 /tmp/x.py