How to insert data into Excel file with Python and xlrd module?
<p>I try to insert value into Excel files with Python and xlrd module as follow:</p>

<pre><code>import xlrd
data=xlrd.open_workbook('1.xls')       
table=data.sheets()[0]
row = 0
col = 0
ctype = 1 # 类型 0 empty,1 string, 2 number, 3 date, 4 boolean, 5 error
value = 'abc'
xf = 0 # 扩展的格式化 (默认是0)
table.put_cell(row, col, ctype, value, xf)
</code></pre>

<p>but no new data 'abc' in the Excel file.
So anyone helps?
Thanks ahead.</p>
