python - 模块“googlefinance”pylint 中没有名称“getQuotes”(模块中没有名称)
问题描述
我不能运行这个程序。我正在使用 Anaconda3。
文件名
get_googlefinance.py
参考网站
https://pypi.org/project/googlefinance/
资源
from googlefinance import getQuotes
import json
print(getQuotes('AAPL')[0]['LastTradePrice'])
解决方案
推荐阅读
- reactjs - 未找到规则“简单导入排序/排序”的定义 simple-import-sort/sort
- c# - 使用类/构造函数保存数据时无法在 C# 应用程序中保存到列表/字典
- java - 数组类型的组件类型什么时候也是数组类型?
- laravel - Laravel:在 where 子句中使用“LIKE”
- flutter - 使用 Custom Painter 在 Flutter 中掩盖路径和绘画
- flutter - 滚动控制器出错
- ruby-on-rails - 带有 Devise Token Auth 未初始化常量用户的 Rails
- ios - .png 文件在 Xcode 中以黑色背景加载
- python - 我需要用户输入从一个数据框指向另一个数据框并显示第二个数据框-python 中的一列
- mysql - 调用两个外键上使用的相同主键来显示不同的行/结果