Python program which take Languge,codefile,testcases as input and returns whether the code passes or not
Closed this issue · 4 comments
sannithibalaji commented
Python program which take Languge,codefile,testcases as input and returns whether the code passes or not
srikanth104 commented
from click._compat import raw_input
import py_compile
fname = raw_input('Please enter filename...')
if (fname.__contains__(".py")):
try:
py_compile.compile(fname)
except Exception as e:
print(str(e))
else:
fileObject = open(fname, 'r')
print(fileObject.read())
Yogeshwar235 commented
Is anyone working on this?
pbteja1998 commented
N/A for now.