def get_slash(): sysstr = platform.system() if(sysstr =="Windows"): slash = "\\" else: slash = "/" return slash