[Tutor] Capture keyboard input even without python in focus
What commands could capture input from the keyboard (and the mouse while we're at it) even when the running python program isn't the program in focus? Sorta like a keylogger, though that's not my goal (wouldn't be very secret with a python console running anyways lol.) -Jack ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] compilte python to an executable file.
> On 27/03/06, Keo Sophon <[EMAIL PROTECTED]> wrote: > > hi all, > > > > Does anyone know how to compile a python filename.py to an executable file? > > Google for py2exe. > > Note, though, it doesn't really "compile" your script. Rather, it > bundles up the interpreter and all the flies needed to make it go. It > still means you can run your programs on Windows systems without > python installed, though. > > -- > John. == I was kinda wondering about that too. Isn't there any other way to get your program compiled into standalone machine code? Would a py2exe program be practical for a commercial program? I'd think people could read your source code too easily. -Jack ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
[Tutor] How do I monitor running processes?
Is there a command that will monitor all running processes/programs(on Windows ME)? I'd like to make a program that makes a beep when an unrecognized process, such as an adware program, is running. That way I'd know immediately when one of these stealth programs not on my safe list has installed itself. Jack ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Help with Game over program
Python should have made the file associations when it was installed, but you can just manually associate *.py files with C:\Python24\python.exe and then your program should run inside of a little DOS window. -Jack On 3/15/06, Brad Hills <[EMAIL PROTECTED]> wrote: I'm 45 minutes into learning how to program using python. I am reading "Python programming for the absolute begginer" by Michael Dawson, and the first thing I've done was write the "Game Over" program. Which I understand is also called the "Hello World" Program. My main problem at this point is when I try to run the program from the icon on my desktop it asks me which program to associate it with. The book makes it sound like it will automatically execute the program. Am I doing something wrong? ___Tutor maillist - Tutor@python.orghttp://mail.python.org/mailman/listinfo/tutor What operating system are you using? Windowz? Mac? Anna ___Tutor maillist - Tutor@python.orghttp://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
[Tutor] Simulate Input from mouse and keyboard?
Is there a way to control the mouse cursor's position so I can tell it to move to X,Y position on the screen and click or double click automatically? Also, how can you simulate input from the keyboard? I'd like to be able have a program that can call up a webpage, click on a text box and type into it as though a person was actually doing it. I know this is kinda an obtuse way of getting things done, but I think it'd be neat to be able to do it that way. So to recap (this is for windows btw): 1. How do you control the cursor relative to the entire screen, not just locked inside the program's own window. 2. How do you simulate mouse clicks/doubleclicks. 3. How do you emulate keyboard input as though a real person is typing. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
[Tutor] How to monitor streaming data from the internet via modem?
Say I want to monitor the data that comes through my modem when I'm running a trading platform (like for stocks) so I can send an alert when a certain condition has been met like the price of a stock. If the trading program is in java or perl, can I just tap into the raw data that trading program is recieving through the modem without interfering with the trading program's own information stream? -Jack ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor