[Tutor] Have Python Update Forms
jtp at nc.rr.com
Fri Jun 6 15:00:40 CEST 2008
Thanks for the response, Alan. Unfortunately direct access to the
database is not a possibility. ;) It's one of those things where the
folks running the database don't want to share the necessary
credentials. I guess I've resorted to this "POST hack" in an effort to
make life easier, even without the database password.
On Fri, Jun 6, 2008 at 3:51 AM, Alan Gauld <alan.gauld at btinternet.com> wrote:
> "James" <jtp at nc.rr.com> wrote
>> I want to write a program that will update the 'last updated' field on
>> *every* item. This will require some sort of 'post' to the web server
> I think I misunderstood your request. I thought you wanted to
> add some new web browser functions but it looks like you may
> want a batch update facility?
> If so why not write directly to the database? Simulating a GUI
> or web form is an intrinsicly unreliable way of doing things
> and if possible you should go directly to the datyabase.
> It will also be much quicker and have less resource hit on
> your server. Or is here a reason you cannot talk to the
> Alan G
> Tutor maillist - Tutor at python.org
More information about the Tutor