在 python3 中从 Pubmed 下载 pdf 时出错
我试图使用 fetch pdf 从 python 中下载 PubMed pdf 代码
mkr5="18368049"
os.system('python3 fetch_pdfs.py -pmids$mkr5')
这是我收到此错误的
fetch_pdfs.py: error: argument -pmids: expected one argument
I ma trying to download PubMed pdf from within python using fetch pdf
here is the code
mkr5="18368049"
os.system('python3 fetch_pdfs.py -pmids$mkr5')
I get this error
fetch_pdfs.py: error: argument -pmids: expected one argument
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设您想使用
mkr5
中的值作为-pmids
的参数,您可以使用 f 字符串:Assuming you want to use the value in
mkr5
as the argument for-pmids
, you could use an f-string: