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()