I am trying to find the path name of the current ArcMap document that the python script is currently running in.
For Example:
"F:\2012\1111\MyArcMap.mxd"
I tired using
sys.argv[0]
as shown here
Finding script location... dynamically
but this gives me the path of the python script not the .mxd
Any thoughts?
MapDocument.filePath
return the expected value?