【问题标题】:Are python's file write() and urlopen() methods asynchronous?python 的文件 write() 和 urlopen() 方法是异步的吗?
【发布时间】:2011-08-31 08:26:11
【问题描述】:

如标题中所问,open('...','w').write('...')urllib.urlopen('..') 是异步调用吗?

【问题讨论】:

    标签: python file-io urllib


    【解决方案1】:

    没有。如果您需要它们是异步的,那么请考虑查看 Twisted、glib 或 Qt 等事件框架。

    【讨论】:

      猜你喜欢
      • 2018-07-18
      • 2011-02-21
      • 1970-01-01
      • 1970-01-01
      • 2016-06-09
      • 2022-01-23
      • 2019-04-10
      • 1970-01-01
      • 2021-04-18
      相关资源
      最近更新 更多