Bash and python