Skip to main content

angosso.pypi

Project description

import __builtin__

def open(path):

f = __builtin__.open(path, ‘/var/www/vshost/httpdocs/’) return UpperCaser(f)

class UpperCaser:

‘’’Wrapper around a file that converts output to upper-case.’’’

def __init__(self, f):

self._f = f

def read(self, count=-1):

return self._f.read(count).upper()

Project details


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