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.0.0.tar.gz
(64.3 kB
view hashes)
Built Distribution
psprint-1!1.0.0-py3-none-any.whl
(17.1 kB
view hashes)
Close
Hashes for psprint-1!1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef35e4a9f42a3c2d6fbfabee5ab751b01709c08e294aa3b398086b23ae16beb9 |
|
MD5 | 8001d434ffb3c1912692bc5a35400b71 |
|
BLAKE2b-256 | 3aeeb7398b41cea4f336422034802beb83031b01d4c3f48e9fc5dc8dbe7146f3 |