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.

#code snippet:
import csv
csvreader = csv.reader(open(csv_file), delimiter = ',')
for row in csvreader:
     print 'row:%s' % row


Regards,
Nandakishore


On Wed, Sep 2, 2009 at 3:43 PM, Vamsi <v...@apple.com> wrote:

> Hi,
>
> 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.
>
> Thanks
> Vamsi
>
>
> _______________________________________________
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to