import time
import os
localtime = time.asctime(time.localtime(time.time()))
x = 1
print("Cobra Language 3.3.3 (v3.3.3:h3js89sj9fs, February 18 2014, 20:33:34) [MSC v.1600 32/64 bit (Intel) Raihaanium Code] on win32/64")
print("\nA Replica of Python programming, but with an all new editor! The Cobra Editor Version 3.3.3!")
while x == 1:
code = input("\n\nEnter your Cobra Code below:\n\n")
f = open("C:\\Cobra Code Temp. File.py", "w+")
m = code
f.write(m)
f.write("\n\n")
f.write("input(\"Press ENTER to Re-launch: \")")
f.write("\n\n\n")
f.write("#Cobra Code 3.3.3 \n\
#Code Generated on: ")
f.write(localtime)
f.close()
os.system("python C:\\Cobra Code Temp. File.py")
print("\n**********RELAUNCHING...**********")
I have added some extra features, and repaired the bug! See for yourself!