The Python Language Reference - Python 3.10.4 documentation

Comparsion

is will return True if two variables point to the same object (in memory),

== if the objects referred to by the variables are equal.

Why True and False are capitalized

Because they are constant

split by multiple delimiters

Enclose a string with [] to match any single character in it.

s_marks = 'one-two+three#four'
print(re.split('[-+#]', s_marks))
# ['one', 'two', 'three', 'four']

If patterns are delimited by |, it matches any pattern.

s_strs = 'oneXXXtwoYYYthreeZZZfour'
print(re.split('XXX|YYY|ZZZ', s_strs))
# ['one', 'two', 'three', 'four']

namespace

A * namespace* defines a context in which a given set of names is bound to objects. Namespaces are implemented using dictionary mappings.

builtin namespace

The builtin namespace is an example of a namespace that contains all the built-in functions and this can be accessed by entering builtins.dict at the terminal (the result is of a considerable amount).

the built-in namespace comes into existence when the interpreter is invoked and contains all the builtin names.