python - 在循环中执行python异步
问题描述
我想使用 Python 2.7 来执行异步 while 循环。
while True:
#getting real-time data from calling the API
#make some calculations based on the response return by API 15 min after
有人可以帮我吗?非常感谢。
解决方案
推荐阅读
- python - 在 for 循环中向字典添加键,得到 runtimeerror
- python - 根据日期条件删除行
- visual-studio-2019 - Visual Studio 2019 View.SynchroniseClassView 不工作
- javascript - 如何构建使用在不同框架中呈现的 DOM 的 React 代码?
- git - Maven多模块项目和Jenkins的Git提交历史问题
- java - java - 如何将CSV文件转换为Java中的整数数组?
- sql - 从一个表中获取基于两列的数据
- cordova - Mobilefirst CLI '错误:未检测到平台' 同时给出命令'mfpdev app register' 即使在添加了 android 平台之后
- javascript - 无法从阵列中调用视频
- eclipse - Eclipse 无法记住屏幕