title: python write string directly to tarfile
body: <p>Is there a way to write a string directly to a tarfile? From <a href="http://docs.python.org/library/tarfile.html" rel="noreferrer">http://docs.python.org/library/tarfile.html</a> it looks like only files already written to the file system can be added.</p>