Skip to main content

No project description provided

Project description

cLastLine

Module to easily allow rewriting the last line in the terminal.

Example

from clastline import cLastLine

with cLastLine() as c:
    # write testing to the last line
    c.write("testing")

    # write testing again to the last line (overwrites previous)
    c.write("testing again")

    # overwrite the first characters of the line (though leave rest)
    c.write("ouch!", clearBeforeWrite=False)

Install

pip install clastline

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

clastline-2.1.0.tar.gz (3.1 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