This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Project Description

As an old Perl-hack I really miss the convenience of one-line programs where I can easily add block structure. This script emulates the behaviors of perl -e, perl -n and perl -p using braces ({ and }) to generate Pythonesque indentation. There may be other ways to get around this but the goal is to make one-liners as easy as we expect.


` >./pb 'for j in range(1,10) { for k in range(0,j) { sys.stdout.write(".") } sys.stdout.write("\n") }' . .. ... .... ..... ...... ....... ........ ......... `

PS. I know this one is very easy as a true Python one-liner:

` >python -c 'print "\n".join("."*j for j in range (1,10))' . .. ... .... ..... ...... ....... ........ ......... `

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

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