Re: Returning a value from code string

2006-01-30 Thread Fried Egg
SNIP All the well reasoned responses about asking possibly out of context why questions /SNIP Well, I won't be so impatient the next time someone misconstrues what I thought was a simple question and lectures me about SQL injection or whatever. Additionally, if I think something might be

Re: Returning a value from code string

2006-01-29 Thread Fried Egg
From above: I hope the contents of the database are trusted, because if the code is coming from an untrusted source, well, U R pwn3d. Seems like you are jumping through a lot of hoops for very little benefit. What am I missing? END Why does anyone care about why people do things when they ask

Cheetah template driven object output? Pythonically?

2006-01-29 Thread Fried Egg
This may be trivial or stupid or both, but does anyone have a recipe for gracefully using Cheetah to generate a text representation of an object, but embedded in the object (so that it can be pickled, unpickled, and told to display itself)? Here is what I am thinking: pre import

Web application design question (long)

2006-01-16 Thread Fried Egg
Hi Pythonist(a/o)s I am interested if anyone can shed any light on a web application problem, both in the specific details (see below) but also in the theory of how to do ad hoc data processing and exploration through a web interface (a tall order, I think). It is apropos of my job, if you

Re: Web application design question (long)

2006-01-16 Thread Fried Egg
I must not express myself very clearly. I don't need any help with the disassociated text algorithm. What I need is a framework for data processing web apps, and the disassociated text seems a good example. -- http://mail.python.org/mailman/listinfo/python-list

Codetags (also Pylint/Pychecker + Variable declarations)

2005-10-08 Thread Fried Egg
* Codetag PEP: ** I would like to comment on the codetags PEP, which I give a 0+. I think the end is bad; I would be in favor of a block system or something that looks more like regular Python (e.g. # :FIXME(line_count=10, date='2005-08-09', ...) ). ** As to the comments that say