Re: [Pythonmac-SIG] Leopard python architectures in setup.py

2007-11-02 Thread Martina Oefelein
Am 02.11.2007 um 08:03 schrieb Ronald Oussoren: > As you've noticed the actual framework is 64bit but the commandline > tools are not. It should be easy enough to add 64-bit command-line > tools as well, but even then you'll have to add extra arguments to > build 64-bit extensions (as Boyd

Re: [Pythonmac-SIG] sys.path on Leopard

2007-11-02 Thread Martina Oefelein
Am 01.11.2007 um 21:14 schrieb Jack Jansen: > > On 1-Nov-2007, at 20:45 , Brian Granger wrote: >> Running python setup.py install on Leopard causes packages to be >> installed in the usual: >> >> /Library/Python/2.5/site-packages >> >> But, Apple put this directory _after_ >> >> /System/Library/F

Re: [Pythonmac-SIG] Hide application icon

2005-04-12 Thread Martina Oefelein
Hi Dethe Elza: I'm writing a statusbar app and don't want an icon to show up in the Dock. What is the correct way to hide/remove the icon? set LSUIElement to "1" in your info.plist http://developer.apple.com/documentation/MacOSX/Conceptual/ BPRuntimeConfig/Concepts/PListKeys.html#//apple_ref/do

Re: [Pythonmac-SIG] XML handler design

2005-03-24 Thread Martina Oefelein
Hi Henning, My first attempt used DOM, but I get a cleaner, more readable, better extendable code with SAX. If you want a cleaner coder, you give might one of the more "pythonic" XML APIs, like ElementTree or XIST a try. ElementTree: http://effbot.org/zone/element-index.htm XIST: http://www.livin

Re: [Pythonmac-SIG] Having trouble installing Panther python packages

2005-03-24 Thread Martina Oefelein
Hi Nitin! Everytime I unzip the file and install the .mpkg file, I get the following error: "The InstallationCheck tool is either not exectutable or not readable." did you use unzip to decompress the archive? Apparently unzip doesn't preserve "execute" rights. Try another decompressor. Stuffit Ex

Re: [Pythonmac-SIG] Copying to clipboard (pasteboard)

2005-03-22 Thread Martina Oefelein
Hi Jeremy: I have a little python script that reads a text file and prints what it finds to the screen. Not everything it finds, of course, just the important stuff. Instead of printing to the screen, or in addition to printing to the screen, I would also like to copy the text to the clipboar

Re: [Pythonmac-SIG] More on stdin and python scripts in BBEdit and TextWrangler

2005-03-04 Thread Martina Oefelein
Hello Louis, The worksheet seems to solve that problem, but it does not enable me to use TextWrangler or BBEdit as an IDE-type environment. well, many people have been looking for a good python IDE on the Mac - in fact, there has been a really long discussion about this a few weeks ago. You migh

Re: broken modules (was: Re: [Pythonmac-SIG] CFURL Pain)

2005-03-03 Thread Martina Oefelein
Hi Bob: Very few people care that undocumented modules don't work correctly. You have to look pretty hard to even notice their existence in the first place. I've never heard of a broken undocumented standard library module becoming a deal-breaker for someone new to Python. Looking at the Globa