用python写1个测试代码:test.py。通过 import bs_inference来导入之前的download函数,用户可以通过输入参数获取到对应股票的数据...

可以这样写:import bs_inferencedef test_download(stock_code): data = bs_inference.download(stock_code) print(data)

test_download('000001')

猜你喜欢

转载自blog.csdn.net/weixin_42588672/article/details/129609057