| Store | Cart

Gadfly ????

From: David Bolen <d...@fitlinxx.com>
10 Mar 2004 17:00:33 -0500
Gerhard H?ring <gh at ghaering.de> 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> > _sqlite.py 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/bdist_wininst.py

-- David

Recent Messages in this Thread
Frithiof Andreas Jensen Mar 05, 2004 12:42 pm
Fuzzyman Mar 08, 2004 08:14 am
Frithiof Andreas Jensen Mar 08, 2004 04:25 pm
Fuzzyman Mar 10, 2004 08:04 am
Gerhard Häring Mar 10, 2004 08:33 am
Fuzzyman Mar 12, 2004 01:50 pm
Piet van Oostrum Mar 10, 2004 12:50 pm
Gerhard Häring Mar 10, 2004 01:00 pm
David Bolen Mar 10, 2004 10:00 pm
Fuzzyman Mar 05, 2004 12:32 pm
Stuart Bishop Mar 12, 2004 03:53 am
Messages in this thread