<p>Is there an easy way write to a file asynchronously in Python?</p>

<p>I know the <a href="https://docs.python.org/2/tutorial/inputoutput.html#reading-and-writing-files" rel="noreferrer">file io that comes with Python</a> is blocking; which is fine in most cases.  For this particular case, I need writes not to block the application at all, or at least as minimally as possible.</p>

Twisted has
non-blocking writes on file descriptors
.  If you're writing async code, I'd expect you to be using twisted, anyway.  :)