better us `cfgs = robotpath.strip(os.path.sep)`?