Added Console.py from SwiftUtils (bundled for portability)