Kiddo added to GitHub

When I'm trying to work quickly and need to execute a small script through Python – it can be a pain.

I just uploaded a library to GitHub called Kiddo that tries to alleviate that a bit. You can see the repo at

Here's a usage example with Python 3:

>>> import logging
>>> logging.basicConfig(level=logging.INFO)
>>> import kiddo
>>> kid = kiddo.Kiddo("hiKiddo")
>>> kidding ="py -3 tests/ 123")
>>> return_code, stderr = kidding
>>> return_code
>>> stderr

Using a log handler allows one to send the STDOUT to a log file or an in-memory logging object, etc.


Related Content:

Leave a Comment

Your email address will not be published. Required fields are marked *