embedding short python scripts inside a bash script February 19, 2023 by Tarik Why should you need to use -c? This works for me: python << END ... code ... END without needing anything extra.