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 details)

Uploaded Source

File details

Details for the file clastline-2.1.0.tar.gz.

File metadata

  • Download URL: clastline-2.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.7

File hashes

Hashes for clastline-2.1.0.tar.gz
Algorithm Hash digest
SHA256 2aa86123aff953025aa3f45cdcc54231fee27efe8420e26e9956fce8dad8d65b
MD5 66f2ebd8cb9d3a0cb308f2e27647171f
BLAKE2b-256 92eaf4ed81e31cd58ea35c21e0aa5f3887b8de7cd79738104caf59d5959197cb

See more details on using hashes here.

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