471,318 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,318 software developers and data experts.

Python with excel

Hello

Basically i am trying to perfrom a load flow analysis in ipsa, but require python to to use it(i have 17000 time instances!). In order to do this, i want to take information (P and Q) out an excel document, print them, perform a load flow on them, print values and repeat for the next time instance.

I have managed to get excel opened...but when i try to retrieve values from excel i just get NONE as the response for all of them.

Any ideas?
Dec 6 '07 #1
1 1251
row = 1
col = 1

while xlSht.Cells (row, col) != " " :
data = str(xlSht.Cells (row,col).Value)
row +=1
col+=1


this should give all data in the file.
Mar 5 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

13 posts views Thread by Allison Bailey | last post: by
reply views Thread by justin worrall | last post: by
2 posts views Thread by Kevin T. Ryan | last post: by
3 posts views Thread by Xiao-Qin Xia | last post: by
10 posts views Thread by sam | last post: by
6 posts views Thread by “ √……Ĺ»ň | last post: by
4 posts views Thread by michael.pearmain | last post: by
6 posts views Thread by AleydisGP | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.