Re: [Pythonmac-SIG] Locale and number formatting

2008-05-22 Thread Jeremy Reichman
On 5/22/2008 12:54:55 PM, "Ned Deily" <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > Jeremy Reichman <[EMAIL PROTECTED]> wrote: > >> I came across the locale module, which looks as if it will do what I want >> and perform number formatting (with groupings separated by commas) for

[Pythonmac-SIG] what object I can assign to sys.stderr

2008-05-22 Thread Georg Seifert
hello, with your kind help my project develops very well. I want to redirect the output (stdout and stderr) to a NSTextView. I found out that I can assign a file object to sys.stdout. How does an ObjectC object needs to looks like that I could use it as a "file object"? Thanks in advance

Re: [Pythonmac-SIG] Locale and number formatting

2008-05-22 Thread Ned Deily
In article <[EMAIL PROTECTED]>, Jeremy Reichman <[EMAIL PROTECTED]> wrote: > I came across the locale module, which looks as if it will do what I want > and perform number formatting (with groupings separated by commas) for a > report I'm trying to generate. It always seems that there's a module

[Pythonmac-SIG] py2app access modes

2008-05-22 Thread Doug Fort, Consulting Programmer
Hi, We use Py2App to distribute SpiderOak. We're getting complaints from users that when they install the product from an administrator account (which they must do to write to /Applications), they can't run the product from other accounts. Examination shows that the top level .app directory has a

[Pythonmac-SIG] OS X python memory limits ?

2008-05-22 Thread James Boyle
OS X 10.4.11 numpy 1.0 python 2.5.1 I have been running some data analyses and getting errors such as the following: python(22768) malloc: *** vm_allocate(size=14778368) failed (error code=3) python(22768) malloc: *** error: can't allocate region python(22768) malloc: *** set a breakpoint

[Pythonmac-SIG] Locale and number formatting

2008-05-22 Thread Jeremy Reichman
I came across the locale module, which looks as if it will do what I want and perform number formatting (with groupings separated by commas) for a report I'm trying to generate. It always seems that there's a module for everything I want to do. I'm seeking output like: '1,234.56' '12,345,678,910,

Re: [Pythonmac-SIG] embed python in cocoa

2008-05-22 Thread Georg Seifert
Michael, many thanks for you example. I found out, that I do not need to do anything. Because I can just call "NSDocumentController.sharedDocumentController().documents()" and I get what I need. It runs perfectly and out of the box. it is amazing. I need to recheck the pyOjcC bridge docs as