Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在python中将csv导出到服务器位置?_Python_Python 3.x_Pandas_Python 2.7 - Fatal编程技术网

如何在python中将csv导出到服务器位置?

如何在python中将csv导出到服务器位置?,python,python-3.x,pandas,python-2.7,Python,Python 3.x,Pandas,Python 2.7,我需要将csv导出到服务器位置, 假设我的服务器位置为: http://5.6.80.9:8079/ExportedFiles/Files/ 我试过: 它不起作用。这可能会有帮助 df.to_csv(r"http//5.6.80.9:8079/ExportedFiles/Files/ filename.csv", index=False)

我需要将csv导出到服务器位置, 假设我的服务器位置为: http://5.6.80.9:8079/ExportedFiles/Files/ 我试过:

它不起作用。

这可能会有帮助
df.to_csv(r"http//5.6.80.9:8079/ExportedFiles/Files/ filename.csv", index=False)