title: python os.path.exists not working from localhost
body: <p>I am running a python script from php file. In the python script i have to check a folder existing or not. The Folder from a mount location. If i do the check for os.path.exists is not working. Below is my sample code.</p>
  
  <pre><code>mount_smbfs //user1:1234@system1/Apps/PublishAssets ~/z
  </code></pre>
  
  <p>in python i am checking in such a way that .</p>
  
  <pre><code>os.path.exists('/Volumes/PublishAssets')
  </code></pre>
  
  <p>i am running php from local host.</p>
  
  <pre><code>http://localhost/~user1/Apps/index.php
  </code></pre>
  
  <p>i am always getting folder not existing. But physically am able to see the folder and folder contents.</p>
  
  <p>Please help me to get the proper path. Thanks in advance.</p>