Is this a true statement?

Carl Fink carlf at panix.com
Sat Jun 23 11:34:56 EDT 2001


In article <mailman.993306635.11457.python-list at python.org>, Chris
Gonnerman wrote:
 
> Writing TO a device driver is easy enough... the previous poster
> was talking about writing the DRIVER in Python.  No OS I'm aware
> of takes device drivers in any languages other than assembler, C,
> and/or C++.

He's making a very finicky, nitpicking, and frankly silly point:  the
device driver is a sequence of bytes.  You can write that sequence of
bytes *directly as machine code* from Python, in the sense that you
can have a Python program that would create a valid device driver
file by opening it, writing those bytes to it, and closing it.

Essentially he's deliberately misunderstanding what "write" means,
using the "write to a file" meaning instead of "create a new program"
meaning.
-- 
Carl Fink		carlf at dm.net



More information about the Python-list mailing list