我在 Python (v2.6.5) 中遇到字符串格式转换问题。我试图将字符串设置为这样的格式...
os.system ('/%s/tabix' % (path) '-h -f ftp://<some_url> 4:387-388 > file.out' )
成为 path='home/john'
但我总是得到同样的错误
"Not enough arguments for format string"
我阅读了文档和这篇文章Not enough arguments for format string但我找不到合适的答案。
有人可以帮助我吗?
提前致谢,
佩谢