Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Print colored status messages.

Project description

print_msg module

Python 3.4, 3.5, 3.6, 3.7 pypi version requirements

wheel license commit activity goto counter

This module helps to print status messages in color depending on their content.



  1. $ git clone
  2. $ cd print-msg/
  3. $ python3 sdist
  4. $ cd dist/
  5. $ sudo pip install print_msg-0.9.3.tar.gz


$ sudo pip install print-msg


import print_msg

print_msg(status='%status_code%', msg='%message%', end='%optional%')

Status codes:

  • 'ok' -> [--OK--] %Message%;
  • 'error' -> [-ERROR-] %Message%;
  • 'status' -> [STATUS] %Message%;
  • 'time' -> [-TIME-] Execution time -> %time%;

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for print-msg, version
Filename, size File type Python version Upload date Hashes
Filename, size print_msg- (3.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size print_msg- (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page