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.2.4.tar.gz
(74.2 kB
view hashes)
Built Distribution
psprint-1!1.2.4-py3-none-any.whl
(28.4 kB
view hashes)
Close
Hashes for psprint-1!1.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b9e66c875bac57f3548fd6ec0202f08a90c048853754ca0432d3c8407d1c7fe |
|
MD5 | df92896fdbba7a019c57aab5802e8678 |
|
BLAKE2b-256 | 69a0de1dcd2a991057dd1acea9105a76da407b2ad3bc70a3d8255a5574b54207 |