Re: [Pythonmac-SIG] pyobjc with appscript

2010-10-25 Thread Preston Holmes
You might consider using a web framework like Django I've done some experimenting with using Django as a "local" app. The gunicorn server makes this particularly easy. -Preston PS - I'd love to see your work, as we could use something like this at our school On Oct 23, 2010, at 11:18 PM, Ada

[Pythonmac-SIG] CoreGraphics deprecations

2010-03-03 Thread Preston Holmes
pdf = CGPDFDocumentCreateWithProvider(CGDataProviderCreateWithFilename(aFile)) pdf.getTrimBox(pageNumber).getWidth() I get warning output like: Wed Mar 3 21:48:07 element.sd.cox.net Python[24469] : The function `CGPDFDocumentGetTrimBox' is obsolete and will be removed in an upcoming updat

Re: [Pythonmac-SIG] pyqrcode on Snow Leopard with jcc

2010-03-03 Thread Preston Holmes
On Mar 3, 2010, at 2:24 PM, Bill Janssen wrote: Preston Holmes wrote: I've used the 10.5 binary egg from here with great success: http://pyqrcode.sourceforge.net/ However trying to compile from source on 10.6 has not yet worked for me. I pip install JCC and it compiles fine But w

[Pythonmac-SIG] pyqrcode on Snow Leopard with jcc

2010-03-03 Thread Preston Holmes
I've used the 10.5 binary egg from here with great success: http://pyqrcode.sourceforge.net/ However trying to compile from source on 10.6 has not yet worked for me. I pip install JCC and it compiles fine But when I try to run make in the pyqrcode project, make fails when trying to run jcc wi

Re: [Pythonmac-SIG] create appscript reference from aedesc

2009-08-01 Thread Preston Holmes
Can you use appscript? http://appscript.sourceforge.net/py-appscript/index.html its much easier than earlier python AE stuff. -Preston On Jul 26, 2009, at 1:50 PM, Magnus Herold wrote: Hi All, I'm trying to write an Automator action using Python, and I'm not yet that familiar with the lower

[Pythonmac-SIG] Compiling pylibacl on 10.5

2009-07-28 Thread Preston Holmes
has anyone found the fix to compile this egg: http://pylibacl.sourceforge.net/ Or does anyone else know an alternate method for accessing HFS ACL data? -Preston ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/li

[Pythonmac-SIG] pyobjc and multiprocessing

2009-07-21 Thread Preston Holmes
I'm wondering if there is a way to "repair" the broken interaction between pyobjc and the multiprocessing module I'm trying out. Trying to fire up a runloop inside a forked process (a multiprocessing.Process object) gives the following: The process has forked and you cannot use this CoreFou