pdb.pm()

pdb.pm() Enter post-mortem debugging of the traceback found in sys.last_traceback.

pdb.Pdb.set_trace()

set_trace() See the documentation for the functions explained above.

pdb.Pdb.runeval()

runeval(expression, globals=None, locals=None) runcall(function, *args, **kwds) set_trace() See the documentation for the functions explained above.

pdb.Pdb.runcall()

runcall(function, *args, **kwds) set_trace() See the documentation for the functions explained above.

pdb.Pdb.run()

run(statement, globals=None, locals=None) runeval(expression, globals=None, locals=None) runcall(function, *args, **kwds) set_trace() See the documentation for the functions explained above.

pdb.Pdb

class pdb.Pdb(completekey='tab', stdin=None, stdout=None, skip=None, nosigint=False) Pdb is the debugger class. The completekey, stdin and stdout arguments are passed to the underlying cmd.Cmd class; see the description there. The skip argument, if given, must be an iterable of glob-style module name patterns. The debugger will not step into frames that originate in a module that matches one of these patterns. [1] By default, Pdb sets a handler for the SIGINT signal (which is sent when the u

pathlib.WindowsPath

class pathlib.WindowsPath(*pathsegments) A subclass of Path and PureWindowsPath, this class represents concrete Windows filesystem paths: >>> WindowsPath('c:/Program Files/') WindowsPath('c:/Program Files') pathsegments is specified similarly to PurePath.

pathlib.PureWindowsPath

class pathlib.PureWindowsPath(*pathsegments) A subclass of PurePath, this path flavour represents Windows filesystem paths: >>> PureWindowsPath('c:/Program Files/') PureWindowsPath('c:/Program Files') pathsegments is specified similarly to PurePath.

pathlib.PurePosixPath

class pathlib.PurePosixPath(*pathsegments) A subclass of PurePath, this path flavour represents non-Windows filesystem paths: >>> PurePosixPath('/etc') PurePosixPath('/etc') pathsegments is specified similarly to PurePath.

pathlib.PurePath.with_suffix()

PurePath.with_suffix(suffix) Return a new path with the suffix changed. If the original path doesn’t have a suffix, the new suffix is appended instead: >>> p = PureWindowsPath('c:/Downloads/pathlib.tar.gz') >>> p.with_suffix('.bz2') PureWindowsPath('c:/Downloads/pathlib.tar.bz2') >>> p = PureWindowsPath('README') >>> p.with_suffix('.txt') PureWindowsPath('README.txt')