由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - error of opening a file located in a remote server from pyton
相关主题
string /File IO processing using C (转载)问10个老题
H1B延期,新的开始日期提前了一道程序题
一个很全SAS Interview Q. List [ZT]再发个高盛的电面面经
print a BST level by level, last row first请教一个C++的题目
讨论个题目吧A电面一题 基本已挂
Amazon的序列化二叉树电面题Epic 笔试面经
one alg from amazon这个版上电脑高手多,借地儿请教个Excel问题,谢谢!
问个打印树的问题An interview question (Detect cycles in a sequence of numbers)
相关话题的讨论汇总
话题: file话题: csv话题: error话题: pyton话题: located
进入JobHunting版参与讨论
1 (共1页)
l******9
发帖数: 579
1
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
1 (共1页)
进入JobHunting版参与讨论
相关主题
An interview question (Detect cycles in a sequence of numbers)讨论个题目吧
新鲜的L一面Amazon的序列化二叉树电面题
Twitter电面经one alg from amazon
小公司面经问个打印树的问题
string /File IO processing using C (转载)问10个老题
H1B延期,新的开始日期提前了一道程序题
一个很全SAS Interview Q. List [ZT]再发个高盛的电面面经
print a BST level by level, last row first请教一个C++的题目
相关话题的讨论汇总
话题: file话题: csv话题: error话题: pyton话题: located