aditya shukla wrote:
file=open(searc h_file,"rb")
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
>
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
file=open(searc h_file,"rb")
>
How can this be done?
>
Thanks in advance.
>
>
>
------------------------------------------------------------------------
>
--
http://mail.python.org/mailman/listinfo/python-list
How can this be done?
>
Thanks in advance.
>
>
>
------------------------------------------------------------------------
>
--
http://mail.python.org/mailman/listinfo/python-list
Comment