import os
print ("after os")
from saspy.pysas34 import *
print ("after pysas34")
from saspy.sasstat import *
from saspy.sasets  import *
from saspy.SASLogLexer import *
print ("after all saspy import")
SAS = SAS_session()       
sas = SAS
executable = os.environ.get('SAS_EXECUTABLE', 'sas')
if executable=='sas':
    executable='/opt/sasinside/SASHome/SASFoundation/9.4/sas'
e2=executable.split('/')
_path='/'.join(e2[0:e2.index('SASHome')+1])
_version=e2[e2.index('SASFoundation')+1]
print ("after exec " + _path + _version)
print("SAS session available as 'SAS'. Pid="+str(sas._startsas(path=_path, version=_version)))

@@ -7,27 +7,8 @@
  os%0A
-print (%22after os%22)%0A
 from
@@ -35,32 +35,8 @@
 t *%0A
-print (%22after pysas34%22)%0A
 from
@@ -79,32 +79,32 @@
 asets  import *%0A
+
 from saspy.SASLo
@@ -123,41 +123,8 @@
 t *%0A
-print (%22after all saspy import%22)%0A
 SAS 
@@ -407,49 +407,8 @@
 +1%5D%0A
-print (%22after exec %22 + _path + _version)%0A
 prin

clean up comments