"""editbrowse.py -- a default edit() module for browsing things that can't be edited. Hey, it's better than nothing...""" import PyBrowser def canedit(data): "Always returns 1, since we can browse (but not edit) anything." return 1 def edit(data, returndata=0): print "WARNING: using PyBrowser, you can view but not edit data." PyBrowser.Browser(data) return data