type error raise

2010-05-27 Thread timo verbeek
what is the problem with this code? _base={"repeat":False,"string":"Progres has failed","works":True} print _base class dictreturn(_base):pass this error Traceback (most recent call last): File "", line 244, in run_nodebug File "C:\Documents and Settings\Owner\Desktop\Python\assistent new \us

Re: creating addon system

2010-05-22 Thread timo verbeek
Is there not an other way to create a fast addon system? A module or something like that -- http://mail.python.org/mailman/listinfo/python-list

creating addon system

2010-05-21 Thread timo verbeek
What is the easiest way in python to create a addon system? I found to easy ways: * using a import system like this: for striper in stripers: if striper["enabled"]: exec("from strip import %s as _x"%striper["striper"]) string = _x.start(string) * using exec

Re: Human word reader

2010-05-15 Thread timo verbeek
On May 15, 1:02 pm, timo verbeek wrote: Place starts always with for -- http://mail.python.org/mailman/listinfo/python-list

Human word reader

2010-05-15 Thread timo verbeek
I'm planning to create a human word program A human inputs a string "Give me the weather for London please." Then I will strip the string. "weather for london" Then I get the useful information. what:"weather" where:"london" After that I use the info. I need help with getting the useful informatio

Re: Getting a Python program to run of off a flash drive?

2010-04-01 Thread timo verbeek
On Apr 1, 12:48 am, Abethebabe wrote: > I wanted to know if there was a way I could get a Python program to > run off of my flash drive as soon as the computer (Windows) detected > the device? > > For example I could have a a simple program that would create a text > document on the computers desk