Yeats <w.b.yeats <atuol.com.brwr ites:
So that's cell_value(rowx =2, colx=2). colx=2 translates to column C on your
screen. rowx=2 translates to row 3 on your screen. What does cell C3 show on
your screen when you use Excel?
And in what cell is VERDADEIRO on your screen?
By the way, it's usually a good idea to say what version of Windows, Python and
xlrd that you are using. It's also usually a good idea to check the README file
for a third-party module or package to find out where it is suggested that you
ask questions ... the answer is rarely comp.lang.pytho n.
Cheers,
John
[xlrd author]
>
>
Hi,
>
Years ago i use xlrd to read data from
excel and now I need again, but i get strange result. The code is:
>
from xlrd import *
>
Planilha =
open_workbook(' C:\\Resultados. xls')Resultados =
Planilha.sheet_ by_name('Result ados')c =
(Resultados.cel l_value(2,2))pr int c
>
Hi,
>
Years ago i use xlrd to read data from
excel and now I need again, but i get strange result. The code is:
>
from xlrd import *
>
Planilha =
open_workbook(' C:\\Resultados. xls')Resultados =
Planilha.sheet_ by_name('Result ados')c =
(Resultados.cel l_value(2,2))pr int c
screen. rowx=2 translates to row 3 on your screen. What does cell C3 show on
your screen when you use Excel?
>
and the result is: 0, but the value in
cell is : VERDADEIRO
and the result is: 0, but the value in
cell is : VERDADEIRO
By the way, it's usually a good idea to say what version of Windows, Python and
xlrd that you are using. It's also usually a good idea to check the README file
for a third-party module or package to find out where it is suggested that you
ask questions ... the answer is rarely comp.lang.pytho n.
Cheers,
John
[xlrd author]