HTTP headers problem

2002-05-02 Thread Jeremy Aiyadurai
hi all here is a barebone webserver. I am having problems with the http headers. I can get a page to load in netscape, but not Internet explorer. the following is the code. please pay close attention to the getParse(),createHeader() and contentType() subroutines. Your help is much appreciated.

Re: Python device driver

2002-05-02 Thread Matthew Sherborne
Yes, that's a good point. Huge Memory usage. Does anyone know a way to recompile python with minimal stuff easily? I remember Deeply Embedded python compiled without floating point and stuff but they don't seem to be around anymore. Matthew Sherborne - Original Message - From: "Bruce P

Python device driver

2002-05-02 Thread Bruce Peterson
As a newbie to Python, I can't comment on the success of your proposal; however if what you propose works -- you've got one huge device driver. Essentially all the core functionality of Python as excess baggage. -- I've been thinking of writing a

Re: Low level python

2002-05-02 Thread Rocco Pellegrini
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 progra

Re: Low level python

2002-05-02 Thread Exu Yangi
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

Low level python

2002-05-02 Thread Matthew Sherborne
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