title: Running Python script from Bash file causes Import errors
body: <p>I wrote a simple bash script to run a game I am making in Python.  However, when I do this, it gives me an import error when trying to import custom modules.</p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/user/Projects/Test/game.py", line 7, in &lt;module&gt;
      import boot, splash, menu, game, player, options
  ImportError: No module named 'boot'
  </code></pre>
  
  <p>I checked the permissions on the folder containing the modules and they are accessible. If I just run the game.py in Terminal as:</p>
  
  <pre><code>python3.4 game.py
  </code></pre>
  
  <p>Then everything works perfectly fine.  No import errors or anything.  Just when I run it as the Bash file.  For reference, here is the Bash file I am using:</p>
  
  <pre><code>#!/bin/bash
  STRING="Launching game..."
  PYTHON="/usr/bin/python3.4"
  GAME="/home/user/Projects/Test/game.py"
  echo $STRING
  $PYTHON "$GAME"
  </code></pre>
  
  <p>EDIT:  It appears to be an absolute/relative path issue as to where the Bash file is and the Python file.  Running the Bash file, since the Python file is using relative path, makes it so it does not know where the source of the custom modules are.</p>