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