Re: [Pythonmac-SIG] zipfile still has 2GB boundary bug

2005-04-25 Thread Charles Hartman
Someone should think about rewriting the zipfile module to be less hideous, include a repair feature, and be up to date with the latest specifications . -- and allow *deleting* a file from a zipfile. As far as I can tell, you now can't (except by

[Pythonmac-SIG] Re: Weird import problem with PythonIDE on Mac (was 'import problem')

2005-04-25 Thread Chris Smith
On Friday, Apr 22, 2005, at 10:00 America/Chicago, Max Noel wrote: Do you have a suggestion as to what can I give a module so it has enough information to execute a function that resides in __main__? Here is a visual of what is going on: --__main__ def y1(): pass import foo foo.run(string

Re: [Pythonmac-SIG] zipfile still has 2GB boundary bug

2005-04-25 Thread Bob Ippolito
On Apr 25, 2005, at 7:53 AM, Charles Hartman wrote: Someone should think about rewriting the zipfile module to be less hideous, include a repair feature, and be up to date with the latest specifications . -- and allow *deleting* a file from a zipf

RE: [Pythonmac-SIG] converting file paths between HFS and POSIXformats

2005-04-25 Thread Schollnick, Benjamin
> The former; e.g. 'Mac HD:Users:has:' to '/Users/has' and back. The issue is that it has to be partially hard coded I have not figured out a way to do this completely platform independent... >>> import os >>> mac_path = "Mac HD:Users:has:" >>> PC_path = str(os.sep).join (mac_path.split (":

Re: [Pythonmac-SIG] py2applet--is it really this easy?

2005-04-25 Thread Chris Barker
Bob Ippolito wrote: On Apr 24, 2005, at 12:20 AM, Kevin Walzer wrote: I dragged and dropped the main launcher script on the py2applet icon, and it proceeded to create a standalone package complete with PyQt libraries stuffed in! Yes, it really is that easy. So what's the difference between an "Ap

Re: [Pythonmac-SIG] py2applet--is it really this easy?

2005-04-25 Thread Bob Ippolito
On Apr 25, 2005, at 1:06 PM, Chris Barker wrote: Bob Ippolito wrote: On Apr 24, 2005, at 12:20 AM, Kevin Walzer wrote: I dragged and dropped the main launcher script on the py2applet icon, and it proceeded to create a standalone package complete with PyQt libraries stuffed in! Yes, it really is t

Re: [Pythonmac-SIG] py2applet--is it really this easy?

2005-04-25 Thread Charles Hartman
When I tried the applet approach, and burned the result to a CD and tried to copy it to another 10.3 Mac, I got an error message saying that something could not be copied; it had to do with a "framework", but I don't have the exact wording. (It's a multi-module script using wxPython; the applet

Re: [Pythonmac-SIG] py2applet--is it really this easy?

2005-04-25 Thread Bob Ippolito
On Apr 25, 2005, at 2:44 PM, Charles Hartman wrote: When I tried the applet approach, and burned the result to a CD and tried to copy it to another 10.3 Mac, I got an error message saying that something could not be copied; it had to do with a "framework", but I don't have the exact wording. (It

[Pythonmac-SIG] py2app, wxPython, and unicode

2005-04-25 Thread Charles Hartman
Maybe this is the wrong place to ask. (I'm confused.) I've got a Mac 2.4.1 app using the unicode build of wxPython 2.5.4.1. I'm loading a text file that contains an accented (>128) character and displaying it in a wxPython widget (a StyledTextCtrl). I've got the encoding/decoding etc all taken

Re: [Pythonmac-SIG] py2app, wxPython, and unicode

2005-04-25 Thread Bob Ippolito
On Apr 25, 2005, at 10:46 PM, Charles Hartman wrote: Maybe this is the wrong place to ask. (I'm confused.) I've got a Mac 2.4.1 app using the unicode build of wxPython 2.5.4.1. I'm loading a text file that contains an accented (>128) character and displaying it in a wxPython widget (a StyledText