How do I write to a CD?
Grant Edwards
grante at visi.com
Sat Jun 16 22:04:14 EDT 2007
On 2007-06-16, k47867 at kearfott.com <k47867 at kearfott.com> wrote:
> I am looking for Python code to open, read, write, close, and
> make bootable the following: CD DVD USB Drive
>
> Can I just use open(), read(), write(), and close() for these?
CD,DVD: No. You're going to have to use os.popen/os.system to
run utilities like mkisofs, cdrecord, growisofs.
USB: Yes.
> And how do I make something bootable?
CD,DVD: man mkisofs
USB: read the documentation for the bootloader you want to use.
> Is there a portable way to do this that works for both
> windows XP/Vista and Linux?
No.
--
Grant Edwards
grante at visi.com
More information about the Python-list
mailing list