psprint - Prompt String Print
Project description
Gist
Source Code Repository
Badges
Description
Prompt-String-like Print.
[ INFO ] Print statements with a flexible descriptor prefix for better readability.
What does it do
#!/usr/bin/env python3
# -*- coding: utf-8; mode: python; -*-
print()
print("*** WITHOUT PSPRINT ***")
print("An output statement which informs the user")
print("This statement requests the user to act")
print("A debugging output useless to the user")
print()
from psprint import print
print()
print("*** WITH PSPRINT ***")
print("An output statement which informs the user", mark=1)
print("This statement requests the user to act", mark=2)
print("A debugging output useless to the user", mark='bug')
print ()
Screenshot:
With extensive personalization on-the-fly and through configuration files
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
psprint-1!1.3.3.tar.gz
(51.8 kB
view hashes)
Built Distribution
psprint-1!1.3.3-py3-none-any.whl
(25.1 kB
view hashes)
Close
Hashes for psprint-1!1.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33baf96128445d55cd70afd81a6745449efa164c9c32e8604697d9d1fc2de0d2 |
|
MD5 | 4b5a8b376bf64afdf7b8d2a18b6feefa |
|
BLAKE2b-256 | 727e03ed5f5b756db3ef01e55be38aad65dd2383614d46e33bb2b4c48a3e4984 |