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

Short Form prevents the Python shell from printing out giant piles of text.

Project description

It is a hack that ties into the display system. When you are working with a multi-megabyte text file, referenced under the name txt, which takes 10 minutes to be printed in full (if you accidentally type ‘>>> txt’) it’s really nice to have this.

Besides actually turning it off, it can be evaded by using print or even sys.stdout.write itself. ShortForm is only used when an object is repr’ed and printed.

Project details

Release history Release notifications

This version


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