Are python's file write() and urlopen() methods asynchronous?
Asked Answered
C

1

6

As asked in the title, are open('...','w').write('...') and urllib.urlopen('..') asynchronous calls?

Changteh answered 23/5, 2011 at 17:52 Comment(0)
N
7

No. If you need them to be asynchronous then consider looking at event frameworks such as Twisted, glib, or Qt.

Northington answered 23/5, 2011 at 17:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.