I have been trying to write data directly to a tape drive using Python (on HP-UX and Linux). However, unless the original data is small, I don't get it all when I attempt to read it. I suspect this may be due to block size. Can anybody point me to some example code for doing this? thanks!