title: Running from Bash getenv is not defined
body: <p>I'm trying to run my program from the bash.</p>
  
  <p>I am getting the following error:</p>
  
  <blockquote>
    <p>File "/Users/tai/Desktop/FlashY/flashy/sniffer/awsAccess.py", line 8, in 
        aws_access_key_id=getenv('AWS_ACCESS_KEY');</p>
    
    <p>NameError: name 'getenv' is not defined</p>
  </blockquote>
  
  <p>I have the exports saved in bash_profile. I checked and found them all to be there:</p>
  
  <pre><code>vim ~/.bash_profile
  </code></pre>
  
  <p>My code in awsAccess looks like this:</p>
  
  <pre><code>#aswAccess holds the names of the bash environment set keys.
  #used by other classes to create a connection to aws
  aws_access_key_id=getenv('AWS_ACCESS_KEY');
  aws_secret_access_key=getenv('AWS_SECRET_KEY');
  aws_dynamo_region=getenv('DYANAMO_REGION')
  </code></pre>
  
  <p>The key name (not sure what to call this) matches in my bash_profile.</p>
  
  <p>I was looking at an example that used getenv and it worked fine. I'm working on latest osx, python 2.7, running from bash shell, etc. Unsure of what's going wrong.</p>
  
  <p>Thanks!</p>