Gadfly ????

David Bolen db3l at
Wed Mar 10 23:00:33 CET 2004

Gerhard Häring <gh at> writes:

> > I suppose your python script is allowed to write some file(s),
> > otherwise you
> > wouldn't be able to implement a database. You could import a special
> > module that has _sqlite.pyd encoded in a big string, and on
> > the first call writes it out to _sqlite.pyd and wouldn't be called on
> > subsequent times.
> OMG :-o

Well, there's even an quasi-proof-of-concept in the standard library,
albeit not in terms of using the code as a module.  But an embedded
binary is how distutils includes the binary portion of the win32
installer for the bdist_wininst target. :-)

See .../lib/distutils/commands/

-- David

More information about the Python-list mailing list