> Maybe it's not a "schema" exactly.
>
> |Table Name|Fields |Type |Size|Primary Key|Not
Null|Unique|Foreign Key| ...
>
> |'s represent each cell. It's just a way to organize your thoughts,
and have
> something a little more readable than an SQ script for a DB schema.
There's been
> less than 20
Alan G wrote:
>>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 sampl
> 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 ta
> Subject:
> Re: [Tutor] question about "hiding" a function/method in a class
> From:
> Kent Johnson <[EMAIL PROTECTED]>
> Date:
> Fri, 03 Jun 2005 09:45:20 -0400
>
> CC:
> tutor@python.org
>
>
> Mike Hansen wrote:
>
>>
Mike Hansen wrote:
> class DBField(object):
> def __init__(self, fieldName):
> self.fieldName = fieldName
> self.type = ""
> self.size = 0
> self.notNull = False
> self.unique = False
> self.references = ""
> self.default = ""
>
>
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. Then we write the sql script that would
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.