if '/' is contained in path, and only if '\\' is contained in path and index of the first occurrence of '/' in path is lesser than,
if '/' in path and ( ( '\\' in path and path . find ( '/' ) < path . find ( '\\' ) ) or '\\' not in path ) :