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.2.tar.gz
(51.8 kB
view hashes)
Built Distribution
psprint-1!1.3.2-py3-none-any.whl
(25.1 kB
view hashes)
Close
Hashes for psprint-1!1.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0881fad21f147e24e15ac7983ab03ff0bb65d46d95790f942577ed79ad07c6a |
|
MD5 | 438dc16e9d80af1d4f953e02efd5451e |
|
BLAKE2b-256 | 7df1bc2c417fbe9d67d84fddcc69cf43eff1d7886adb8baf43d03f2e9d8d3f3f |