Tin mới
faulthandler — Dump the Python traceback
The module pdb defines an interactive source code debugger for Python programs. It supports setting (conditional) breakpoints and single stepping at the source line level, inspection of stack frames, source code listing,
cmd: Build line-oriented command interpreters.
The module pdb defines an interactive source code debugger for Python programs. It supports setting (conditional) breakpoints and single stepping at the source line level, inspection of stack frames, source code listing,
traceback: Print or retrieve a stack traceback.
Used to dump Python tracebacks explicitly, on a fault, after a timeout, or on a user signal.
readline: GNU readline support for Python.
Changed in version 3.3: Tab-completion via the readline module is available for commands and command arguments, e.g. the current global and local names are offered as arguments of the p command.
Like the p command, except the value of expression is pretty-printed using the pprint module.
code: Facilities to implement read-eval-print loops.
Start an interactive interpreter (using the code module) in a new global namespace initialised from the local and global namespaces for the current scope. Use exit() or quit() to exit the interpreter and return to the de
shlex: Simple lexical analysis for Unix shell-like languages.
Restart the debugged Python program. If args is supplied, it is split with shlex and the result is used as the new sys.argv. History, breakpoints, actions and debugger options are preserved. restart is an alias for run.