如何解决“位置参数跟随关键字参数”?

时间:2019-10-10 18:01:23

标签: jupyter-notebook

resource.Bucket(bucket_name).put_object(Key=html_path,f.read())

我想使用上述方法将数据集加载到存储桶中,但遇到此错误

File "<ipython-input-65-97a6b6813d22>", line 2
    resource.Bucket(bucket_name).put_object(Key=html_path,f.read())
                                                         ^
SyntaxError: positional argument follows keyword argument

0 个答案:

没有答案