fnmatch() vs. glob.glob()
Jinghui Niu
niujinghui at gmail.com
Mon Mar 7 20:04:19 EST 2016
On Monday, March 7, 2016 at 5:00:57 PM UTC-8, Ben Finney wrote:
> Jinghui Niu <niujinghui at gmail.com> writes:
>
> > Thank you for your reply. So if for a beginner learner who doesn't
> > care so much about Unix-compliant, which one is a better choice for
> > learning purpose?
>
> Learn to care about the difference :-) They are both useful and both do
> different things.
>
> --
> \ "I must say that I find television very educational. The minute |
> `\ somebody turns it on, I go to the library and read a book." |
> _o__) --Groucho Marx |
> Ben Finney
May I take this opportunity to ask a bold question for a beginner: if I want to mimic Sublime Text's fuzzy search for a file search in given directories, which module of these two would be more suitable? Could you shed some insights? Thanks.
More information about the Python-list
mailing list