Skip to main content

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 | RSS feed

This version

1.1

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page