- ! [exclamation]
- in a command interpreter
- in curses module
- in formatted string literal
- in
glob-style wildcards, [1]
- in string formatting
- in struct format strings
- ! [pdb command]
- ! patterns
- !=
- " [double quote]
- """
- # [hash]
- comment, [1], [2]
- in doctests
- in printf-style formatting, [1]
- in regular expressions
- in string formatting
- source encoding declaration
- $ [dollar]
- environment variables expansion
- in regular expressions
- in template strings
- interpolation in configuration files
- % [percent]
- datetime format, [1],
[2]
- environment variables expansion [Windows], [1]
- interpolation in configuration files
- operator, [1]
- printf-style formatting, [1]
- %=
- %APPDATA%
- & [ampersand]
- &=
- ' [single quote]
- '''
- [] [parentheses]
- call
- class definition
- function definition
- generator expression
- in assignment target list
- in printf-style formatting, [1]
- in regular expressions
- tuple display
- [?
- [?!
- [?#
- [?:
- [?
- in regular expressions
[? - function annotations, [1]
-? -a - ast command line option
- pickletools command line option
-B -b - command line option
- compileall command line option
- unittest command line option
-C - trace command line option
-c - trace command line option
- unittest command line option
- zipapp command line option
-c -c ... - tarfile command line option
-c
... - zipfile command line option
-d - command line option
- gzip command line option
-d destdir - compileall command line option
-E -e - tokenize command line option
-e [] - tarfile command line option
-e - zipfile command line option
-e dir - compileall command line option
-f - compileall command line option
- trace command line option
- unittest command line option
-g - trace command line option
-h - ast command line option
- command line option
- gzip command line option
- json.tool command line option
- timeit command line option
- tokenize command line option
- zipapp command line option
-I -i -i -i list - compileall command line option
-J -j N - compileall command line option
-k - unittest command line option
-l - compileall command line option
- pickletools command line option
- trace command line option
-l - tarfile command line option
-l - zipfile command line option
-m - pickletools command line option
- trace command line option
-m - zipapp command line option
-m -m -n N - timeit command line option
-O -o - pickletools command line option
-o - zipapp command line option
-o level - compileall command line option
-OO -p - pickletools command line option
- timeit command line option
- unittest-discover command line option
-p - zipapp command line option
-p prepend_prefix - compileall command line option
-q - command line option
- compileall command line option
- python--m-py_compile command line option
-R - command line option
- trace command line option
-r - compileall command line option
- trace command line option
-r N - timeit command line option
-S -s - command line option
- trace
command line option
- unittest-discover command line option
-s S - timeit command line option
-s strip_prefix - compileall command line
option
-T - trace command line option
-t - trace command line option
- unittest-discover command line option
-t
- tarfile command line option
-t - zipfile command line option
-u - command line option
- timeit command line option
-V -v - command line option
- tarfile command line option
- timeit command line option
- unittest-discover command line option
-W arg -X -x -x regex - compileall command line option
. [dot] - attribute reference
- in glob-style wildcards
- in
numeric literal
- in pathnames, [1]
- in printf-style formatting, [1]
- in regular expressions
- in string formatting
.. ...- ellipsis literal, [1], [2]
- in doctests
- interpreter
prompt, [1]
- placeholder, [1], [2]
.ini .pdbrc / [slash] - function definition
- in pathnames,
[1]
- operator, [1]
// //= /= 0b 0o 0x 2-digit
years2to3 : [colon] - annotated variable
- compound statement, [1],
[2], [3], [4], [5], [6],
[7]
- function annotations, [1]
- in dictionary expressions
- in formatted string literal
- in SQL statements
- in string formatting
- lambda expression
- path separator [POSIX]
- slicing
; [semicolon], [1] < [less] - in string formatting
- in struct format strings
- operator, [1]
>>= >>> ? [question mark] - in a command interpreter
- in argparse module
- in AST grammar
- in glob-style wildcards, [1]
- in regular expressions
- in SQL statements
- in struct format strings, [1]
- replacement character
?? @ [at] - class definition
- function definition
- in struct format strings
- operator
[] [square brackets]
- in assignment target list
- in glob-style wildcards, [1]
- in regular expressions
- in string formatting
- list expression
- subscription
\ [backslash] - escape sequence,
[1]
- in pathnames [Windows]
- in regular expressions, [1], [2]
\\ - escape sequence
- in regular expressions
\A \a - escape sequence
- in regular expressions
\B \b - escape sequence
- in regular expressions, [1]
\D \d \f - escape sequence
- in regular expressions
\g \N - escape sequence,
[1]
- in regular expressions
\n - escape sequence
- in regular expressions
\r - escape sequence
- in regular expressions
\S \s
\t - escape sequence
- in regular expressions
\U - escape sequence, [1]
- in regular expressions
\u - escape sequence, [1]
- in regular expressions
\v - escape sequence
- in regular expressions
\W \w
\x - escape sequence, [1]
- in regular expressions
\Z ^ [caret]
- in curses module
- in regular expressions, [1]
- in string formatting
- marker, [1]
- operator, [1]
^= {} [curly brackets] - dictionary expression
- in formatted string literal
- in regular
expressions
- in string formatting
- set expression
| [vertical bar] - in regular expressions
- operator, [1]
|= ~ [tilde] - home directory expansion
- operator,
[1]
|