Have you ever seen Python2exe? I tried it with a little package and if your design is clear may be a good solution: It's a package: into the core module named build_exe, Thomas Heller says:
"""distutils.command.build_exe Implements the Distutils 'py2exe' command: create executable windows programs from scripts.""" # created 2000/11/14, Thomas Heller __revision__ = "$Id: build_exe.py,v 1.2 2002/02/01 10:50:32 theller Exp $" __version__ = "0.3.1" If you want to fully undestand how is possible from Python to write a file x.exe it's good; but if you want only build .exe i's still good. I don't rememember where is the package but it's possible to try in Python home and search for it. Rocco Pellegrini ----- Original Message ----- From: "Exu Yangi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, May 02, 2002 10:31 PM Subject: Re: Low level python > It is certainly unusual. Device drivers usually require a lot more speed > than an interpreted (even with psyco) language can deliver. However, python > can do all the requisite things, and for a touch screen, which certainly > doesn't need all that much speed, I can't see why not. > > How 'bout letting the rest of see it when its done? Should be wierd enough > to make an example of... > > > >From: "Matthew Sherborne" <[EMAIL PROTECTED]> > > > >I've been thinking of writing a device driver in python. > > > >Some people say this is ridiculous. > > > >I used psyco to improve the speed, and now have a program that does the > >device driver's job (a proprietry touchscreen driver) in user mode. > > > >Now, I have no idea how to make the python exe or dll run in kernel mode. I > >wonder if there are some special api calls that need to made. > > > >I'm downloading WinDriver. I hope this can help me. > > > >Does anyone not think this is a crazy thing to do? > > > >Why not use python for a device driver? > > > >I just see it as python dll is the driver, and the .py file are like > >permanent configuration file for it. > > > >Comments Appreciated > >Matthew Sherborne > > > > > [EMAIL PROTECTED] > http://kickme.to/exuyangi > http://exuyangi.home.attbi.com/ > ICQ: 76799701 > > > _________________________________________________________________ > Join the world's largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > _______________________________________________ > ActivePython mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython > > _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython