Python script running in linux
<p>I am having trouble trying to get this script to work. When I debug this code it will not read into the class or functions. The code will not execute properly. Has anyone know the problem here, Thanks</p>

<pre><code>#!/home/build/test/Python-2.6.4

import os, subprocess

class mks_function:

 sandbox="new_sandbox"

 def mks_create_sandbox():  
  try:  
   retcode=call("si createsandbox" + "--no --hostname=bel --port=70 --user=user --password=1234 --populate --project=e:/project.pj --lineTerminator=lf new_sandbox", shell=True)  
   if retcode &lt; 0:  
    print &gt;&gt;sys.stderr, "Child was terminated by signal", -retcode  
   else:  
    print &gt;&gt;sys.stderr, "Child returned", retcode  
 except OSError, e:  
    print &gt;&gt;sys.stderr, "Execution failed:", e  
    print "sandbox retVal="+retcode  
    print "Creating a new sandbox called "+sandbox+" "  
###############################################################
</code></pre>
