 Conda 25.1.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) >>> m.group(1) 'bc' The optional key argument specifies _to_unix_root(match: re.Match) → str RE_WIN_MOUNT _to_unix_mount(match: re.Match) → str RE_WIN_DRIVE _to_unix_drive(match: re.Match, cygdrive: bool) → str translate_unix(match: re.Match) → str posix_to_nt(path: nt_to_posix. RE_UNIX_DRIVE _to_win_drive(match: re.Match) → str RE_UNIX_MOUNT _to_win_mount(match: re.Match) → str RE_UNIX_ROOT _to_win_root(match: re.Match, root: str) → str _resolve_path(path: str,0 码力 | 822 页 | 5.20 MB | 8 月前3 Conda 25.1.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) >>> m.group(1) 'bc' The optional key argument specifies _to_unix_root(match: re.Match) → str RE_WIN_MOUNT _to_unix_mount(match: re.Match) → str RE_WIN_DRIVE _to_unix_drive(match: re.Match, cygdrive: bool) → str translate_unix(match: re.Match) → str posix_to_nt(path: nt_to_posix. RE_UNIX_DRIVE _to_win_drive(match: re.Match) → str RE_UNIX_MOUNT _to_win_mount(match: re.Match) → str RE_UNIX_ROOT _to_win_root(match: re.Match, root: str) → str _resolve_path(path: str,0 码力 | 822 页 | 5.20 MB | 8 月前3
 Conda 24.11.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) >>> m.group(1) 'bc' 4.6. Developer guide 429 conda _to_unix_root(match: re.Match) → str RE_WIN_MOUNT _to_unix_mount(match: re.Match) → str RE_WIN_DRIVE _to_unix_drive(match: re.Match, cygdrive: bool) → str translate_unix(match: re.Match) → str posix_to_nt(path: nt_to_posix. RE_UNIX_DRIVE _to_win_drive(match: re.Match) → str RE_UNIX_MOUNT _to_win_mount(match: re.Match) → str RE_UNIX_ROOT _to_win_root(match: re.Match, root: str) → str _resolve_path(path: str,0 码力 | 818 页 | 5.21 MB | 8 月前3 Conda 24.11.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) >>> m.group(1) 'bc' 4.6. Developer guide 429 conda _to_unix_root(match: re.Match) → str RE_WIN_MOUNT _to_unix_mount(match: re.Match) → str RE_WIN_DRIVE _to_unix_drive(match: re.Match, cygdrive: bool) → str translate_unix(match: re.Match) → str posix_to_nt(path: nt_to_posix. RE_UNIX_DRIVE _to_win_drive(match: re.Match) → str RE_UNIX_MOUNT _to_win_mount(match: re.Match) → str RE_UNIX_ROOT _to_win_root(match: re.Match, root: str) → str _resolve_path(path: str,0 码力 | 818 页 | 5.21 MB | 8 月前3
 Conda 24.9.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) >>> m.group(1) 'bc' The optional key argument specifies _to_unix_root(match: re.Match) → str RE_WIN_MOUNT _to_unix_mount(match: re.Match) → str RE_WIN_DRIVE _to_unix_drive(match: re.Match, cygdrive: bool) → str translate_unix(match: re.Match) → str posix_to_nt(path: nt_to_posix. RE_UNIX_DRIVE _to_win_drive(match: re.Match) → str RE_UNIX_MOUNT _to_win_mount(match: re.Match) → str RE_UNIX_ROOT _to_win_root(match: re.Match, root: str) → str _resolve_path(path: str,0 码力 | 799 页 | 5.26 MB | 8 月前3 Conda 24.9.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) >>> m.group(1) 'bc' The optional key argument specifies _to_unix_root(match: re.Match) → str RE_WIN_MOUNT _to_unix_mount(match: re.Match) → str RE_WIN_DRIVE _to_unix_drive(match: re.Match, cygdrive: bool) → str translate_unix(match: re.Match) → str posix_to_nt(path: nt_to_posix. RE_UNIX_DRIVE _to_win_drive(match: re.Match) → str RE_UNIX_MOUNT _to_win_mount(match: re.Match) → str RE_UNIX_ROOT _to_win_root(match: re.Match, root: str) → str _resolve_path(path: str,0 码力 | 799 页 | 5.26 MB | 8 月前3
 Conda 24.5.x Documentationtranslate_unix(match: re.Match) → str classmethod posix_to_nt(paths: str, prefix: str) → str static translation_drive(match: re.Match) → str static translation_mount(match: re.Match) → str static tra translation_root(match: re.Match, prefix: str) → str 414 Chapter 4. Contributors welcome conda, Release 24.5.1.dev1 native_path_to_unix(paths: str | collections.abc.Iterable[str] | None) → str | tuple[str None True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) >>> m.group(1) 'bc' The optional key argument specifies0 码力 | 794 页 | 5.01 MB | 8 月前3 Conda 24.5.x Documentationtranslate_unix(match: re.Match) → str classmethod posix_to_nt(paths: str, prefix: str) → str static translation_drive(match: re.Match) → str static translation_mount(match: re.Match) → str static tra translation_root(match: re.Match, prefix: str) → str 414 Chapter 4. Contributors welcome conda, Release 24.5.1.dev1 native_path_to_unix(paths: str | collections.abc.Iterable[str] | None) → str | tuple[str None True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) >>> m.group(1) 'bc' The optional key argument specifies0 码力 | 794 页 | 5.01 MB | 8 月前3
 Conda 24.7.x Documentationtranslate_unix(match: re.Match) → str classmethod posix_to_nt(paths: str, prefix: str) → str static translation_drive(match: re.Match) → str static translation_mount(match: re.Match) → str static tra translation_root(match: re.Match, prefix: str) → str 4.6. Developer guide 427 conda, Release 24.7.1 native_path_to_unix(paths: str | collections.abc.Iterable[str] | None) → str | tuple[str, Ellipsis] | None True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) >>> m.group(1) 'bc' The optional key argument specifies0 码力 | 808 页 | 4.97 MB | 8 月前3 Conda 24.7.x Documentationtranslate_unix(match: re.Match) → str classmethod posix_to_nt(paths: str, prefix: str) → str static translation_drive(match: re.Match) → str static translation_mount(match: re.Match) → str static tra translation_root(match: re.Match, prefix: str) → str 4.6. Developer guide 427 conda, Release 24.7.1 native_path_to_unix(paths: str | collections.abc.Iterable[str] | None) → str | tuple[str, Ellipsis] | None True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) >>> m.group(1) 'bc' The optional key argument specifies0 码力 | 808 页 | 4.97 MB | 8 月前3
 Conda 23.10.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) (continues on next page) 422 Chapter 4. Contributors0 码力 | 773 页 | 5.05 MB | 8 月前3 Conda 23.10.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) (continues on next page) 422 Chapter 4. Contributors0 码力 | 773 页 | 5.05 MB | 8 月前3
 Conda 23.7.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) >>> m.group(1) 'bc' The optional key argument specifies0 码力 | 795 页 | 4.91 MB | 8 月前3 Conda 23.7.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) >>> m.group(1) 'bc' The optional key argument specifies0 码力 | 795 页 | 4.91 MB | 8 月前3
 Conda 23.11.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) (continues on next page) 424 Chapter 4. Contributors0 码力 | 781 页 | 4.79 MB | 8 月前3 Conda 23.11.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) (continues on next page) 424 Chapter 4. Contributors0 码力 | 781 页 | 4.79 MB | 8 月前3
 Conda 24.1.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) (continues on next page) 428 Chapter 4. Contributors0 码力 | 795 页 | 4.73 MB | 8 月前3 Conda 24.1.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) (continues on next page) 428 Chapter 4. Contributors0 码力 | 795 页 | 4.73 MB | 8 月前3
 Conda 24.3.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) (continues on next page) 4.6. Developer guide 4210 码力 | 786 页 | 4.98 MB | 8 月前3 Conda 24.3.x DocumentationNone True >>> first([0, False, None, [], ()], default='ohai') 'ohai' >>> import re >>> m = first(re.match(regex, 'abc') for regex in ['b.*', 'a(.*)']) (continues on next page) 4.6. Developer guide 4210 码力 | 786 页 | 4.98 MB | 8 月前3
共 12 条
- 1
- 2













