Python But Bad
		
		
		
		Jump to navigation
		Jump to search
		
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
Its like python,but if the interpreter detects any error,it deletes the entire code.
PLEASE MAKE A INTERPRETER FOR THIS IMPLEMENTED!!!!!!!!!!
Interpreter in Python (also a self interpreter)
import os,sys
with open(sys.argv[1],"r",encoding="utf-8") as f:
    c=f.read()
try:
    exec(c)
except:
    os.remove(sys.argv[1])
Note that it is also possible to write an interpreter in C/C++ using Python C APIs.