Any Python code for CD-R writing on a Windows box?

David Brown david at no.westcontrol.spam.com
Mon Dec 2 05:58:37 EST 2002


"Gerhard Häring" <gerhard.haering at gmx.de> wrote in message
news:slrnauk968.lc.gerhard.haering at lilith.my-fqdn.de...
> David Lees wrote:
> > It would be neat to write short python programs for selectively writing
> > files onto my CD-RW drive for backups on my Win98 box.  Is there any
> > Python code for writing a file or directory onto a CD-R disc?
>
> os.system("mkisofs ....")
> os.system("cdrecord ...")
>
> You'd need the Windows versions of these command-line utilities.
>
> cdrecord seems to be available at
> ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/win32/ and you should
> be able to just compile mkisofs using Cygwin.

You get the full pack of tools there (mkisofs, cdrecord, cdread, etc.), so
there is no need to do any compiling (unless you want to - compilation under
cygwin of the latest source code is straightforward).

Personally, I find these tools far easier and faster to use than gui windows
tools - I use cdrecord of preference over Nero.

>
> I've also heard that "Nero Burning ROM" has a command-line interface
> that you could use alternatively, while other CD-burning programs are
> missing any scriptability. At least a friend who once implemented
> CD-burning via Python on Windows told me so.
>
> -- Gerhard






More information about the Python-list mailing list