看板 [ Python ]
討論串[閒聊] pydoc glob 有幾個字看不懂
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 1→)留言3則,0人參與, 最新作者jlovet (打不贏怪兵器不好)時間16年前 (2009/09/08 16:14), 編輯資訊
0
0
0
內容預覽:
不是 case insensitive喔.... iglob會回傳一個iterator. In [4]: a=iglob("*.h"). In [5]: print a. <generator object at 0x960644c>. In [6]: print a.next(). 1.h. In

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者linmic時間16年前 (2009/09/08 15:24), 編輯資訊
0
0
1
內容預覽:
他其實文件有寫差異耶,但沒提到 case-[in]sensitive 就是了。. The glob module finds all the pathnames matching a specified pattern. according to the rules used by the Unix
(還有508個字)

推噓3(3推 0噓 3→)留言6則,0人參與, 最新作者jlovet (打不贏怪兵器不好)時間16年前 (2009/09/08 10:53), 編輯資訊
0
0
0
內容預覽:
$pydoc glob. FUNCTIONS. glob(pathname). Return a list of paths matching a pathname pattern.. The pattern may contain simple shell-style wildcards a la
(還有89個字)
首頁
上一頁
1
下一頁
尾頁