<div class="gmail_quote">On Wed, Jun 10, 2009 at 4:21 PM, Essah Mitges <span dir="ltr">&lt;<a href="mailto:e_mitges@hotmail.com">e_mitges@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
The problem I am have now is that once my game is initiated from the menu file the modules that are with cannot import the imagesthe folder looks like thisWODDS    data        All images and sound for game    gamelib        Objects        Utilities        ___init___    WODDS.py<br>


Png error file attachedAny one know the code in subprocesses to fix this</blockquote><div><br>The problem has nothing to do with subprocess (and in the future please combine your questions into one email). As I mentioned before it&#39;s specifically looking for a file &quot;data/up-1.png&quot; which either doesn&#39;t exist or permissions are wrong.<br>

<br>Remember, relative paths are not absolute.  <br><br>On *nix, /home/user/file/image.jpg is an absolute reference. No matter where you execute a program it will be able to find it. On Windows you would see something like C:\Documents and Settings\Users\MyGuy\MyFile\image.jpg<br>

<br>A relative path would be, as the name suggests, relative. files/image.jpg will access a different location on the disk depending on where you are. Take a look at this that specifically deals with web programming but is applicable.<br>

<a href="http://www.communitymx.com/content/article.cfm?cid=230ad">http://www.communitymx.com/content/article.cfm?cid=230ad</a><br><br>HTH<br><br></div></div><br>