The OP was not talking about a Python program to check the Pascal program as I read it
> to make application in python > that would send code (text) to pascal compiler...and it would return > result and then application would show that result. So he/she/it would want subprocess to compile the Pascal program/file and get the resulting output. Let's not complicate the issue since this appears to be someone relatively new to Python. -- http://mail.python.org/mailman/listinfo/python-list