由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - error of opening a file located in a remote server from pyt (转载)
相关主题
error of saving pdf file w/o read-only on win 7 (转载)matlab 问题请教:读出空白行 (转载)
difference between credit risk analysis and equity analysisCredit suisse 的大牛请进一下
How to pre-index 100,000+ files for keyword search?请教HBK的programming test (for internship)
DLL 文件能被改写吗?问一个C#的问题,这个语句怎么写的?
★2012 All CFA Files[L1L2L3]求救--论文数据,怎么下载option数据? (转载)
2013 FRM Files free download问一下国内上VPN的问题
Virtu files for IPO请问tradeco securities有人听过吗?
求助一道题目啊!!!Credit Score 对quant多重要?
相关话题的讨论汇总
话题: file话题: csv话题: error话题: pyt话题: located
进入Quant版参与讨论
1 (共1页)
l******9
发帖数: 579
1
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: error of opening a file located in a remote server from pyton
发信站: BBS 未名空间站 (Sun Jul 27 19:03:52 2014, 美东)
I need to access read a csv file located in a server from python 3.2 on win7.
The file name is
csv_file =
file_loc = '\serverName.myCompanyName.com\mypath\Files\myfile.csv'
with open(file_loc , 'r') as csv_file # error !!!
csv_reader = csv.reader(csv_file, delimiter=',')
error:
IOError: [Errno 2] No such file or directory: '\serverName.myCompanyName
.com\mypath\Files\myfile.csv'
But, I can access the folder and open the file from win 7 .
Thanks
n****e
发帖数: 629
2
try urllib2 module

win7.

【在 l******9 的大作中提到】
: 【 以下文字转载自 JobHunting 讨论区 】
: 发信人: light009 (light009), 信区: JobHunting
: 标 题: error of opening a file located in a remote server from pyton
: 发信站: BBS 未名空间站 (Sun Jul 27 19:03:52 2014, 美东)
: I need to access read a csv file located in a server from python 3.2 on win7.
: The file name is
: csv_file =
: file_loc = '\serverName.myCompanyName.com\mypath\Files\myfile.csv'
: with open(file_loc , 'r') as csv_file # error !!!
: csv_reader = csv.reader(csv_file, delimiter=',')

1 (共1页)
进入Quant版参与讨论
相关主题
Credit Score 对quant多重要?★2012 All CFA Files[L1L2L3]
那个9个月的non compete大家都是必须sign的吗?2013 FRM Files free download
彻底不用上班了Virtu files for IPO
access a server not through remote desktop service on windo (转载)求助一道题目啊!!!
error of saving pdf file w/o read-only on win 7 (转载)matlab 问题请教:读出空白行 (转载)
difference between credit risk analysis and equity analysisCredit suisse 的大牛请进一下
How to pre-index 100,000+ files for keyword search?请教HBK的programming test (for internship)
DLL 文件能被改写吗?问一个C#的问题,这个语句怎么写的?
相关话题的讨论汇总
话题: file话题: csv话题: error话题: pyt话题: located