On Tue, Oct 12, 2010 at 9:18 AM, Bishwarup Banerjee
<[email protected]> wrote:
> Dear All,
>
> I want to get the absolute path of the Directory I pass explicitly. Like
>
> functionName("\abcd")
>
> This should return the absolute path (location) of the directory.
>
> I am using python 2.5 on windows platform.
>
> It will be very kind of you if you can guide me on this.
>
> With Warm Regards,
>
>

Try os.path.realpath
http://docs.python.org/library/os.path.html#os.path.realpath

Also, this sort of question is probably better suited to the Python
mailing list:
http://mail.python.org/mailman/listinfo/python-list

Reply via email to