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:
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.0.5.tar.gz
(64.2 kB
view hashes)
Built Distribution
psprint-1!1.0.5-py3-none-any.whl
(17.3 kB
view hashes)
Close
Hashes for psprint-1!1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a86643daf33511c10a4104dfa237be1bda8436c3efc3f5f0cacd137b8bcc2dd0 |
|
MD5 | a4e3ef37598d97894067cb86f92d7c37 |
|
BLAKE2b-256 | 11d1d85c83908206938746150483fabb05e55147932d10b8bd4195ca85b7c54a |