[Tutor] python script

Alan Gauld alan.gauld at btinternet.com
Wed Nov 24 02:29:39 CET 2010


"Laura Jessen" <ljessen200 at hotmail.com> wrote
> How would i write a simple python script to issue a scsi inquiry to 
> a drive?

Depending on what you want to do and how you define "simple" it may
not be possible.

If its just to read data from a scsi device then once mounted it 
should
be accesible like any other device. If you want to access the SCSI
controller then things get more difficult. There appear to be a few
modules available, some of them from SCSI vendors. But most
look quite old and none looked "simple" to me. But it probably
depends on how well you understand the SCSI interface standards.

A Google search for python scsi will throw up a lot of hits...

HTH,


-- 
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/





More information about the Tutor mailing list