162 Posted Topics

Member Avatar for Tech B

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 …

Member Avatar for Tech B
0
2K
Member Avatar for Tech B

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 …

0
940
Member Avatar for Tech B

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. …

Member Avatar for Tech B
0
93
Member Avatar for Relentless

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 …

Member Avatar for Tech B
0
142
Member Avatar for Tech B

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.

Member Avatar for fallopiano
0
526
Member Avatar for SoulMazer

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.

Member Avatar for Tech B
0
235
Member Avatar for Tech B

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 …

Member Avatar for Tech B
0
907
Member Avatar for ffs82defxp
Member Avatar for Tech B

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 …

Member Avatar for bumsfeld
0
541
Member Avatar for Shadow14l
Member Avatar for Tech B
0
126
Member Avatar for fallopiano

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 …

Member Avatar for fallopiano
0
328
Member Avatar for freon73

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 …

Member Avatar for Tech B
0
196

The End.