[Tutor] question about "hiding" a function/method in a class

Alan G alan.gauld at freenet.co.uk
Fri Jun 3 20:57:58 CEST 2005

> I haven't done much OO in Python yet. For various web apps we write,
we usually
> write up a DB schema in a spreadsheet.

Wow! How exactly do you represent a schema in a spreadsheet?
I confess I cannot conceive of such a thing. Can you send a
representative sample to illustrate?

> create the tables in the database. I thought it would be neat to
save the
> spreadsheet as a csv file and have python write the sql script. So I
started to
> write the Python program.

You do know that there are lots of ERD programs that allow you to draw
the schema as an ERD and generate the SQL DDL directly? In fact even
can do that.

Alan G.

More information about the Tutor mailing list