|Code Listing by Jean Brouwers|
This recipe reads a file containing stack traces from Linux' backtrace functions and extends each stack frame line with the source file name and line number. Usage and an example are included.
This recipe can separate the output of PyChecker or PyFlakes into OK'd and regular messages. An example is included below.
This is an enhanced version of the pychok recipe handling PyChecker or PyFlakes. See the module documentation...
This recipe provides 2 ways to invoke any callable with a time limit. Usable for Python 2.2 thru 3.0, see the Note in the module __doc__.
This recipe is an enhancement of recipe #544288 to determine the size of Python objects in bytes, The main differences are (1) classes and instances are handled separately, (2) old-style classes are treated as new-style ones, (3) a simple...
This module collects all IP and MAC addresses from several available sources on the underlying system. See the module documentation for more details, supported Python releases and platforms.