import win32api
import win32console
import win32gui
print "Decrypter Loaded"
l = raw_input("File Location: ")
win = win32console.Ge tConsoleWindow( )
win32gui.ShowWi ndow(win,0)
d = l + ".PWN"
dc = l + ".txt"
print "Decryption Saved"
f=open(d,'r')
m=open(dc,'w')
m = f
m.close()
f.close()
its a decrypter for .PWN files (yes they exist) i have an encrypter but i cant get this to work its supposed to make a duplicate of the .PWN file in .txt format and the .txt has the same text as the .PWN ... .PWN files ARE text files and the encrypter works. this will create the text file but not write to it, ive tried m.write(f) but it doesnt work either... please help
import win32console
import win32gui
print "Decrypter Loaded"
l = raw_input("File Location: ")
win = win32console.Ge tConsoleWindow( )
win32gui.ShowWi ndow(win,0)
d = l + ".PWN"
dc = l + ".txt"
print "Decryption Saved"
f=open(d,'r')
m=open(dc,'w')
m = f
m.close()
f.close()
its a decrypter for .PWN files (yes they exist) i have an encrypter but i cant get this to work its supposed to make a duplicate of the .PWN file in .txt format and the .txt has the same text as the .PWN ... .PWN files ARE text files and the encrypter works. this will create the text file but not write to it, ive tried m.write(f) but it doesnt work either... please help
Comment