[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Waar is glob



Egbert Bouwman wrote on 950293841:
> In mijn Python 1.5.1 (debian slink) zit geen glob:
> 
> >>> import glob
> ImportError: No module named glob
> 
> Met fnmatch gebeurt hetzelfde.
> Wat zit hier achter ? 
> Ik kan me nu redden met os.listdir() en re, maar glob is wel zo handig.

Waarschijnlijk is je installatie een beetje kapot :(

Doe eens:
% locate glob.py

Als je niets vind, dan is je installatie verkeerd.
Als je wel wat vind, dan moet je de directory daarvan in je PYTHONPATH
zetten.

groeten,
Gerrit.

-- 
Homepage: http://www.nl.linux.org/~gerrit
-----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
Version: 3.12
GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O
!M !V PS+ PE? Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y
-----END GEEK CODE BLOCK----- moc.edockeeg.www//:ptth

Nederlandse Python mailinglist, python@nl.linux.org
archief: http://mail.nl.linux.org/python/