162 Posted Topics
I've seen a program called Devcon ([url]http://en.kioskea.net/faq/sujet-1886-enable-disable-a-device-from-the-command-line[/url]) used for enabling and disabling hardware devices. I want to do the same hopefully with python. I want to turn the internet connection off with a script. I can already do it with popen('ipconfig /release') but I want something more robust. Is there … | |
Thought someone might like this little script. Its an animated wallpaper. You'll need to draw the frames though. I used Windows paint to make the frames. I drew two stick people fighting. You'll need to know the basics about animation. I saved each picture as .bmp It worked with .jpg … | |
I am currently a student in computer Information Technology and I would like to ask those of you who are experienced working in this field. I didn't really know what forum to post this, so I am posting in Python because I love the language and have posted here before. … | |
Re: The only way I could think would be writing style. Also check time and dates, he might be on a camera at some grocery store at the time of sending. Proving he didn't send it. You might also have to call the company that is providing his email service and … | |
I want to read two points in a picture. Most pixel values will be (0,0,0). I don't know how to take the flatted data and separate it into x,y coordinates. I use the Image library and VideoCaputre. | |
Re: take a look into xorg's xlib. It was mentioned in one of my threads. ov3rcl0ck is the one who mentioned it. I don't know anything about linux so you'd have to talk to him. | |
I cam up with this when I seen what Johnny Lee can do with a wiimote. Youtube it to check it out, pretty amazing. I realized not everybody has a wiimote or a bluetooth dongle to connect it to the PC, so I used my webcam and python. The webcam … | |
I tried installing pcapy 0.10.4 and i get an error. C:>setup.py install running install running build running build_ext building 'pcapy' extension C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nolog /0x /MD /W3 /GS- /DNDEBUG -DWIN32=1 -Ic:\devel\oss\wpdpack\Include - IC:\Python26\include -IC:\Python26\PC /Tppcapdumper.cc /Fobuild\temp.win32-2.6\Release\pcapdumper.obj pcapdumper.cc pcapdumper.cc(12) : fatal error C1083: Cannot open include … | |
Re: wireshark or microsofts network monitor could be a alternative. | |
Re: For the keyboard I use pyHook and pythoncom. Try something like this. [code] import pythoncom, pyHook, sys def OnKeyboardEvent(event): x = chr(event.Ascii) print "Key: ", chr(event.Ascii) #do something here #x can be a conditional for something return True #,return x hm = pyHook.HookManager() hm.KeyDown = OnKeyboardEvent hm.HookKeyboard() pythoncom.PumpMessages() #will wait … | |
Re: Try exploring the socket module. There is a wealth of info for it. I've successfully written a server and client script that works. I don't understand a whole lot, and know that I am only able to send string data. The module locale supports a way to "unpack" the data … |
The End.