Generating HTML

2013-07-29 Thread Morten Guldager
'Aloha Friends! Still a bit new to python I'm afraid of choosing an obsolete route when it comes to generate some HTML in a Flask based micro web server. I come from the Perl side where I have been using HTML::Element with great success, and now I would like to know if something similar exists

Re: classes and sub classes?

2013-04-09 Thread Morten Guldager
On Tue, Apr 9, 2013 at 9:08 AM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Tue, 09 Apr 2013 07:50:11 +0200, Morten Guldager wrote: I'm about to write an API against a huge propitiatory Oracle based network inventory database. The database have many different concepts

classes and sub classes?

2013-04-08 Thread Morten Guldager
'Aloha Friends! I'm about to write an API against a huge propitiatory Oracle based network inventory database. The database have many different concepts stored in it's tables, can one concept can span over multiple tables. I would like to write a class for accessing each concept, but only have a

Newbe accessing MySQL, need something like perl's prepare_cached

2013-01-08 Thread Morten Guldager
'Aloha Friends! Still quite new to python I'm trying to access a MySQL database. Being a former perl programmer I recognize much of the semantics going on. Create a database handle, compile a piece of SQL and put it into a cursor, run the query and use the result. exactly the same flow as I am