Hi ,
I have a main module in particular path say "C:\\Sample\\Te st\\main.py",an d other modules are also located in the same location.I would like to find the path of the current working directory.
Is there any method/global function available for accessing this information?.
Thanks
PSB
I/P :
"C:\\Sample\\Te st\\main.py" -- Working directory
O/P :
"C:\\Sample\\Te st" -- Required working directory path
I have a main module in particular path say "C:\\Sample\\Te st\\main.py",an d other modules are also located in the same location.I would like to find the path of the current working directory.
Is there any method/global function available for accessing this information?.
Thanks
PSB
I/P :
"C:\\Sample\\Te st\\main.py" -- Working directory
O/P :
"C:\\Sample\\Te st" -- Required working directory path
Comment