How do I write to a CD?

K

k47867

Hello:

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? And how do I make something bootable?
Is there a portable way to do this that works for both
windows XP/Vista and Linux?

Thanks in advance:
Michael Yanowitz
 
G

Grant Edwards

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top