Skip to main content

Expanded console for Python

Project description

SuperConsole

A Python package for doing stuff in the console

Simple Usage

Printing:

from superconsole import Console

Console.Out.Print ('Hello, World!')

Printing without newline:

from superconsole import Console

Console.Out.Put ('Hello,')
Console.Out.Put (' World!')

Colors:

from superconsole import Console

Console.Out.Print (Console.Color.Red + 'Hello, World!')

Awaiting user input:

from superconsole import Console

if Console.In.Get ('Hello'):
  Console.Out.Print (Console.Logger.Success ('Message entered!'))

Clearing the console

from superconsole import Console

Console.Clear ()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

superconsole-0.0.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page