please help the newbie!
In my Python research, I have found a nice little voice recognition script on the internet that does exactly what I need, and the demo recognizes phrases with pretty much 100%accuracy. The script can be found here: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/93025 What I want to do is make this code into a module, so I can use it in other programs. For example: import voicerecognition as vr vr.StartRecognition(["one", "two", "three"]) result = vr.GetRecognized() if result == "one": print "You said: one" else: print "You did not say 'one'." Any help would be appreciated. I have tried this, but IDLE keeps freezing whenever I try to use the module with a test script. As I said, I am a newbie and do not know very much about classes, instances, and all those __funky__ modules. Can anybody give me some tips on turning this into a module??? Thank you! -- http://mail.python.org/mailman/listinfo/python-list
How to get Windows system information?
Does anybody know how to get the: Free hard disk space Amount of CPU load and Amount of RAM used on windows? I am making an artificial intelligence program that has "moods" based on how much stress the system is under, based on these parameters. I think it could possibly be done via COM. I am not looking for a cross-platform solution- just something that will work on Windows. Thank you for your help! -- http://mail.python.org/mailman/listinfo/python-list
Re: How to get Windows system information?
thank you! from what I can see from the second website you listed, there is a way to get harddisk space information, but is there any way to get CPU load and RAM usage? -- http://mail.python.org/mailman/listinfo/python-list
Re: How to get Windows system information?
Thank you all! These tips answer my question. I am glad I discovered this group. -- http://mail.python.org/mailman/listinfo/python-list
Re: How to get Windows system information?
For the memory, which of these fields tells you the total amount of RAM? Thanks! -- http://mail.python.org/mailman/listinfo/python-list
Re: How to get Windows system information?
nevermind, found it thanks all! -- http://mail.python.org/mailman/listinfo/python-list
How to Mount/Unmount Drives on Windows?
Hello, I am creating a simple application that will reside in the Windows system tray. The purpose of the program is to mount or unmount external hard drives or flash memory devices, and to set their default states (ie mounted or unmounted) at startup. I do not know how to mount or unmount drives on Windows. I think that it could possibly be done with a DOS command (using os.system()). Thank you for any information you may have. -- http://mail.python.org/mailman/listinfo/python-list
Re: How to Mount/Unmount Drives on Windows?
thank you! devcon was a little more than I needed, and I couldn't get it to work for how I wanted to use it. I will try mountvol. If it has an argument to unmount a volume as well, then it will fit the bill perfectly. -- http://mail.python.org/mailman/listinfo/python-list
