win32console.AllocConsole

AllocConsole()

Creates a new console for the calling process

Comments

Calling process must not already be attached to another console