Re: python setup.py install on Vista?

2008-04-18 Thread Karl-Heinz Ruskowski
hi > well using windows vista, where the h*** am i supposed to type this? you have to include the path to the python interpreter like this c:\programs\python\python.exe pythonfile.py (replace this with your path) or you set an alias called python - i don't know how to that under windows, especi

Re: Another MySQL Images Question

2008-04-18 Thread Karl-Heinz Ruskowski
Hi, > cursor.execute('update products set pic1="%s" where id="%s", ;', > (pic1, id)) Shouldn't it be something like cursor.execute('update products set pic1="%s" where id="%s", ;' % (pic1, id)) -- GPG key: 0x04B3BB96 pgpiL4LACYHv7.pgp Description: PGP signature -- http://mail.python.

Re: Issue with inspect module

2008-04-19 Thread Karl-Heinz Ruskowski
> Why does the inspect module cause the output > to be printed twice? I also tested it, no problem here either. -- http://mail.python.org/mailman/listinfo/python-list

Re: manipulating class attributes from a decorator while the class is being defined

2008-04-19 Thread Karl-Heinz Ruskowski
> How can I reach the class attribute `regexps' from within a decorator? Now, the first way that comes to my mind is simply overloading the class and set your regexps variable in your new class. The other way is to create an object and set it more manually (obj.regexps = ['.*']). Which for me i