-3
import xlrd
book = xlrd.open_workbook("File_1.xls")
sheet = book.sheet_by_index(0)
print sheet.row_values(0)[0]
은
내가 그 오류를주는 코드를 실행 때 우려는, 시트 한 장만을 가지고 엑셀 시스템 (바탕 화면)에 저장된 엑셀 파일을 읽을 것을 시도하고있다 : -시스템에서 Excel 파일을 읽는 중 오류가 발생 했습니까?
Traceback (most recent call last):
File "C:/Python26/readingExlfiles.py", line 2, in <module>
book = xlrd.open_workbook("File_1.xls")
File "C:\Python26\Lib\site-packages\xlrd\__init__.py", line 449, in open_workbook
ragged_rows=ragged_rows,
File "C:\Python26\Lib\site-packages\xlrd\__init__.py", line 941, in biff2_8_load
f = open(filename, open_mode)
IOError: [Errno 2] No such file or directory: 'File_1.xls'
제발 도와주세요 같은.