Re: [Python-Dev] Add a -z interpreter flag to execute a zip file
Andy C wrote:
So does everyone agree that there should be a new extension called .pyz?
How about .pyzip instead? To make it more obvious, and not mistakable for .py.z. - Anders
On Friday 13 July 2007, Anders J. Munch wrote:
How about .pyzip instead? To make it more obvious, and not mistakable for .py.z.
I guess it would be pinheaded to call it .zippy. ;-) -Fred -- Fred L. Drake, Jr. <fdrake at acm.org>
Fred L. Drake, Jr. wrote:
On Friday 13 July 2007, Anders J. Munch wrote:
How about .pyzip instead? To make it more obvious, and not mistakable for .py.z.
I guess it would be pinheaded to call it .zippy. ;-)
I believe .zpy would be most recognizable and lest subject to confusion. regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://del.icio.us/steve.holden --------------- Asciimercial ------------------ Get on the web: Blog, lens and tag the Internet Many services currently offer free registration ----------- Thank You for Reading -------------
Anders J. Munch wrote:
How about .pyzip instead? To make it more obvious, and not mistakable for .py.z.
Indeed. Is there any need to restrict extensions to 3 characters these days? Last time I experimented with this on Windows, it seemed to handle longer extensions okay. -- Greg
On Sat, Jul 14, 2007, Greg Ewing wrote:
Anders J. Munch wrote:
How about .pyzip instead? To make it more obvious, and not mistakable for .py.z.
Indeed. Is there any need to restrict extensions to 3 characters these days? Last time I experimented with this on Windows, it seemed to handle longer extensions okay.
ARAIK, the only disk fromat that really cares about this which may still be in widespread use is ISO-9660-formatted CDs without Joliet/Rock Ridge extensions. Also, it seems that memory sticks and USB thumb drives are often formatted with FAT because that's the closest we have to a universal file format. -- Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/ I support the RKAB
On 15/07/07, Aahz <aahz@pythoncraft.com> wrote:
Also, it seems that memory sticks and USB thumb drives are often formatted with FAT because that's the closest we have to a universal file format.
I think they tend to use FAT32 (the ones I've seen do), which does support long filenames and more than 3 character extensions. Paul
>> Also, it seems that memory sticks and USB thumb drives are often >> formatted with FAT because that's the closest we have to a universal >> file format. Paul> I think they tend to use FAT32 (the ones I've seen do), which does Paul> support long filenames and more than 3 character extensions. I'd check with the guys doing the Portable Python and Movable Python stuff to see if they see >-three-char extensions as a problem. http://www.portablepython.com/ http://www.voidspace.org.uk/python/movpy/ They both seem to be Window-centric so they've pretty much been off my radar screen. Skip
Paul Moore wrote:
On 15/07/07, Aahz <aahz@pythoncraft.com> wrote:
Also, it seems that memory sticks and USB thumb drives are often formatted with FAT because that's the closest we have to a universal file format.
I think they tend to use FAT32 (the ones I've seen do), which does support long filenames and more than 3 character extensions.
In general, this is not true. FAT16 can address a 2GB device and I can think of at least one embedded system I am working with that does not support FAT32. If anything, at least .pyzip reduces to .pyz in 8dot3 (whereas .py.z reduces to .z *yikes!*). However, I think it is still best practice to aim for 8dot3 naming. -Scott -- Scott Dial scott@scottdial.com scodial@cs.indiana.edu
For me, .pyz is fine. Python has more or less a trademark on .pyx extensions, and one more fits well. I think we should stick with them. Confusion of .pyz with .py.z is not an issue with Windows users, though I can understand how it might be for *nix users. On the other hand, pyzip is quite similar (too similar?) to pkzip. tjr
participants (9)
-
Aahz -
Anders J. Munch -
Fred L. Drake, Jr. -
Greg Ewing -
Paul Moore -
Scott Dial -
skip@pobox.com -
Steve Holden -
Terry Reedy