Re: [Pythonmac-SIG] CD burning

2005-09-30 Thread Mark Day
From the shell, you can use the hdiutil tool's burn command. Do a "man hdiutil" for details. -Mark On Sep 30, 2005, at 6:26 AM, Simon Brunning wrote: > Is it possible to programmatically burn a CD with Python. Or indeed > from the shell, as a pinch? > > -- > Cheers, > Simon B, > [EMAIL PROTE

Re: [Pythonmac-SIG] Extending Python (OS 10.3.9)

2005-09-30 Thread Chris Barker
The best advice I can give you is to use distutils to do the compiling for you. It knows about all the include and linking directories that are required: http://docs.python.org/dist/dist.html If your case is simple, which it seems to be so far, you can write a very simple setup.py script, and

[Pythonmac-SIG] Extending Python (OS 10.3.9)

2005-09-30 Thread Kevin J. MacKenzie
Hi everyone, I am attempting to convert some time critical code into C to be imported as a module into python. This is on OS X (10.3.9) using the bundled 2.3.3 version of python. I am working through the extending python tutorial but am having trouble wrapping my head around some things which ar

Re: [Pythonmac-SIG] Using distutils with XCode

2005-09-30 Thread Chris Barker
Paul Kinnane wrote: > the distutils on OSX10.4. I don't have CodeWarrior 7 and wondered if it > was possible to manually compile the library using XCode? I see it is > possible using MPW > (http://www.nevada.edu/~cwebster/Python/MPWHOWTO/MPWHOWTO.html) - that is a very old doc, and only applies

Re: [Pythonmac-SIG] CD burning

2005-09-30 Thread Bob Ippolito
On Sep 30, 2005, at 9:26 AM, Simon Brunning wrote: > Is it possible to programmatically burn a CD with Python. Or indeed > from the shell, as a pinch? I'm pretty sure you can talk to the DiscRecording framework from PyObjC, and IIRC Mac OS X ships with a full suite of tools for burning stuff

[Pythonmac-SIG] CD burning

2005-09-30 Thread Simon Brunning
Is it possible to programmatically burn a CD with Python. Or indeed from the shell, as a pinch? -- Cheers, Simon B, [EMAIL PROTECTED], http://www.brunningonline.net/simon/blog/ ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.or

[Pythonmac-SIG] Using distutils with XCode

2005-09-30 Thread Paul Kinnane
Hi   I am trying to port a python library which I have running on the PC to the Mac.  Can I compile a python distribution files (compiled C) using the distutils on OSX10.4.  I don’t have CodeWarrior 7 and wondered if it was possible to manually compile the library using XCode?  I see it i