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.

Files for superconsole, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size superconsole-0.0.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page