os.path.basename(env.base_path).replace(".", "_" ^ SyntaxError: unexpected EOF while parsing