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.2.tar.gz
(74.1 kB
view details)
Built Distribution
psprint-1!1.2.2-py3-none-any.whl
(28.4 kB
view details)
File details
Details for the file psprint-1!1.2.2.tar.gz
.
File metadata
- Download URL: psprint-1!1.2.2.tar.gz
- Upload date:
- Size: 74.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 810b1c2421aed518409dc37e65c7b8a7585abc0c6cd862789d9e85b83dc18de7 |
|
MD5 | ca18efce07e8f6fbc9ebc04bfe7c51cd |
|
BLAKE2b-256 | 5267070589c832e1a54e6636b912781dcfe77d5dbfd4b5c10520a000f3b1a005 |
File details
Details for the file psprint-1!1.2.2-py3-none-any.whl
.
File metadata
- Download URL: psprint-1!1.2.2-py3-none-any.whl
- Upload date:
- Size: 28.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d771137d25e8cd3dfcf683510ed8675338aaaaab65fb17ee98971befac80d1f |
|
MD5 | 0324d1cb6da0727093aca293e63302e3 |
|
BLAKE2b-256 | 3c2a6e8b5f823fb33e401038e6278f1eef98b613a9eca3a4a6fe384dba29c52b |