"如何从Python调用Curl命令"

2024-04-25 12:12:21 发布

您现在位置:Python中文网/ 问答频道 /正文

我有一个命令如下

Result = os.open(“curl -u username:password https://hostname/stafftools/reports/all_users.csv -k”).read()

它什么也没回来。你知道吗

有人能帮我吗?你知道吗


Tags: csvhttps命令readosusernamepasswordresult