[Tutor] help

2006-01-16 Thread james middendorff
I am trying to do some AGI scripting with python and asterisk, I read the book, Asterisk the Future of Telephony, which has an example of AGI + python. I have found that none of the example seems to work. My question is I have figured out how to play a recorded message sys.stdout.write('EXEC PLAYBA

[Tutor] help with my python app

2005-05-16 Thread james middendorff
Hello, I would like to be able to use the arrow keys to control a remote control car, which I can do but only one key at a time. I would like to press the up key, then while it is moving forward, press the left or right key to turn while it is moving forward? I am sure there are probably better way

[Tutor] help

2005-04-17 Thread james middendorff
Hello, I was wondering if there was a tutorial and or module that would help me create a program to use a parallel port to turn on/off a device in linux? I have searched but cannot find a tutorial on a good way to do this. The whole project would be to use a parallel port to control solid state re

[Tutor] help

2005-02-08 Thread james middendorff
I want to use mysqldb to add people into a database, but when I ask for the certain fields like Name, PhoneNumber and such, I cannot get it to put them in as a string? I am not sure what I am doing wrong but here is my code thanks to anyone who helps: import MySQLdb username = raw_input("what is y