[BangPypers] Excel and Python
madhav.bnk at gmail.com
Wed Sep 2 12:35:43 CEST 2009
You have a module called csv which I think can be used to accomplish what
you want. It accepts a csv file, which is identical to .xls file. Try that.
csvreader = csv.reader(open(csv_file), delimiter = ',')
for row in csvreader:
print 'row:%s' % row
On Wed, Sep 2, 2009 at 3:43 PM, Vamsi <vg at apple.com> wrote:
> I need a help in Python. I want to pass the inputs from Excel through
> variables Which is declared in python script.
> Example: I given parameter and Value in Excel as :
> Parameter Value
> Test 5
> Test1 6
> I used same parameters in Python scripting
> Test + Test1
> Result should be : 11
> I am using Raft tool and Python scripting.
> Hope a good response for this.
> BangPypers mailing list
> BangPypers at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the BangPypers