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.0.tar.gz
(50.6 kB
view hashes)
Built Distribution
psprint-1!1.3.0-py3-none-any.whl
(27.1 kB
view hashes)
Close
Hashes for psprint-1!1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb4d4eccb8b492ecb16e2fc7057515d4e75fe158c44f2a1e92e63e18fbda8b70 |
|
MD5 | 50b14156dfc97db4a537ebdce656932a |
|
BLAKE2b-256 | 6e1f7bb2e2ead3c1e0a70d5228c6b4e1e55711e0785e074eb95ce69c31fee0b7 |