Movatterモバイル変換


[0]ホーム

URL:


why does activestate (win98) python not support globbing

Tim Hammerquisttim at vegeta.ath.cx
Thu Apr 12 21:51:11 EDT 2001


Palmer, Dan [SKY:1G21:EXCH] <dpalmer at americasm01.nt.com> wrote:> I was working through Programing python by Mark Lutz, and I can get Example> 4-1 working under unix (from the 2.0 tar.gz), but when I tried to run this> under windows (win98 or win2000) it generates an error.  The following error> is generated.>> In unix it expands the *.py to all the associated files.  In windows it does> not.  Why the difference.I remember these examples from the (disappointing) book, and remember thatthey were rather Unix-oriented, despite his frequent mention of Windoze.But I also thought I remembered Mark addressing this in a footnote or boxsomewhere, but couldn't find anything regarding the differences betweenglobbing on *nix and DOS/Win32.I was further disappointed.However, later in the chapter (p113 or p115?) he describes how to go aboutusing Python's built-in globbing, which is, of course, moreplatform-independent.So yeah, Mr. Lutz stiffed Win32 users.  This concept should have beencovered in the book, even if 80% of the book was devoted to Tkinter.HTH-- -Tim Hammerquist <timmy at cpan.org>Any emotion, if it is sincere, is involuntary.-- Mark Twain


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp