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:
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.1.0.tar.gz
(65.0 kB
view hashes)
Built Distribution
psprint-1!1.1.0-py3-none-any.whl
(17.6 kB
view hashes)
Close
Hashes for psprint-1!1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff0ec55ad4c2bafcafd787004ea2c07fa5d119970609dbd055aea9b2c51f9111 |
|
MD5 | 5d6803ffa5555ac4b5a8ec5b19fbf593 |
|
BLAKE2b-256 | 81a411bf04074d5ffade22c67b05c4defefa0d236248aa0897bfaaa37ae6e50c |