Aaron "Castironpi" Brady wrote: > Even a function created from raw bytecode string can't do anything > without __import__ or 'open'. Not true: for cls in (1).__class__.__bases__[0].__subclasses__(): if cls.__name__ == "file": F = cls F(my_naughty_path, "w").write(my_naughty_data) -- Greg