I haven't looked at  text wrapper, but it would probably look
something like this in a function, untested:

def text_wrapper(file_name = None, pre_text = None, text = None,
post_text = None):
    f = open(file, 'a')
    f.write("%s\n%s\n%s\n" % (pre_text = None, text, post_text = None)
    f.close()


-- 
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to