File operations

aditya shukla adityashukla1983 at gmail.com
Fri Aug 22 01:08:54 CEST 2008


Hello guys

I am trying to search a file say xyz.txt

after searching i get the location of the file in

search_file (containing abspath) ,eg search_file="c:\\abc\\xyz.txt"

now how should i open this file

i can use file=open("c:\\abc\\xyz.txt","rb") but i have to use search_ file

How can this be done?

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080821/2f060680/attachment.html>


More information about the Python-list mailing list