Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.

Release History

Release History

This version
History Node

1.1

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting