ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activepython
activepython
Re: Low level python
by Rocco Pellegrini other posts by this author
May 2 2002 10:27PM messages near this date
view in the new Beta List Site
Re: Low level python | HTTP headers problem
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" <exuyangi@[...].com> 
To: <miracle@[...].nz> ; <activepython@[...].com>
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" <miracle@[...].nz>
>  >
>  >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
> 
> 
> 
> 
>  exuyangi@[...].com
>  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
>  ActivePython@[...].com
>  To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>  Other options:
http://listserv.ActiveState.com/mailman/listinfo/ActivePython
> 
> 


_______________________________________________
ActivePython mailing list
ActivePython@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython
Thread:
Exu Yangi
Rocco Pellegrini

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved