That depends on what "using" a file means. You could check the thread "executing a command" (<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.python.org/pipermail/python-list/2005-June/283963.html" target="_blank">
http://mail.python.org/pipermail/python-list/2005-June/283963.html</a>)
and see if there's something related there, otherwise it would help if
you could post what exactly you are trying to do (execute a file, open
a file, write into a file, etc).<br>
<br>
Regards,<br>
Tiago S Daitx<br><br><div><span class="gmail_quote">On 6/4/05, <b class="gmail_sendername">Jatinder Singh</b> <<a href="mailto:jatinder@textualanalytics.com">jatinder@textualanalytics.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi guys<br>I am working in a complex directory structure. I want to use a file (not .py)<br>which is in some other directory. I couldn't do it.but if I copy the file in<br>the same directory then it is working fine. Can anybody guide me how and where
<br>to add the path of the file. I have tried it with sys.path but it is not for<br>that.<br><br><br>--<br>Regards,<br>Jatinder Singh<br><br>" Everyone needs to be loved... especially when they do not deserve it."<br>--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list">http://mail.python.org/mailman/listinfo/python-list</a><br></blockquote></div><br>