try:
            x = chr(x)
            f.write(x)
        except:
            break
finally:
    f.close()
print(f.closed)
#q = System.getenv()
#for k in q.items():
#	print (k)
#System.getenv("user.dir")
import os
from java.io import File
builder = ProcessBuilder(["python", "prog.py"])
builder.directory(File(os.getcwd()))
process = builder.start()
x = br1(br(process.getInputStream()))
y = bw1(bw(process.getOutputStream()))
y.write(10)
y.flush()
y.close()
from java.util import Scanner as S
X = S(x)
print(X.nextLine())
print(X.nextLine())
t.sleep(5000)
print(X.nextLine())
#while x!=-1:
#	b = x.read()
#	print (chr(b))