functions not executing python
<p>I have a program that runs when the functions have not been defined. When I put code into a function it does not execute the code it contains. Does anyone know why? Some of the code is:</p>

<pre><code>def new_directory():  

 if not os.path.exists(current_sandbox):  
     os.mkdir(current_sandbox)
</code></pre>

<p>Thanks</p>
