Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #104291
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2016-03-07 17:04 -0800 |
| References | <d8ec5d47-3393-41c3-a06c-0ec058763570@googlegroups.com> <mailman.50.1457386649.10335.python-list@python.org> <14061576-1c44-49bb-a27b-279e43258f06@googlegroups.com> <mailman.15.1457398847.15725.python-list@python.org> |
| Message-ID | <7475bb64-b2e7-45ff-a94e-dbc62f658fab@googlegroups.com> (permalink) |
| Subject | Re: fnmatch() vs. glob.glob() |
| From | Jinghui Niu <niujinghui@gmail.com> |
On Monday, March 7, 2016 at 5:00:57 PM UTC-8, Ben Finney wrote: > Jinghui Niu <niujinghui@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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
fnmatch() vs. glob.glob() Jinghui Niu <niujinghui@gmail.com> - 2016-03-07 12:17 -0800
Re: fnmatch() vs. glob.glob() Ben Finney <ben+python@benfinney.id.au> - 2016-03-08 08:37 +1100
Re: fnmatch() vs. glob.glob() Jinghui Niu <niujinghui@gmail.com> - 2016-03-07 16:53 -0800
Re: fnmatch() vs. glob.glob() Ben Finney <ben+python@benfinney.id.au> - 2016-03-08 12:00 +1100
Re: fnmatch() vs. glob.glob() Jinghui Niu <niujinghui@gmail.com> - 2016-03-07 17:04 -0800
Re: fnmatch() vs. glob.glob() Ben Finney <ben+python@benfinney.id.au> - 2016-03-08 12:16 +1100
Re: fnmatch() vs. glob.glob() Jinghui Niu <niujinghui@gmail.com> - 2016-03-07 17:37 -0800
Re: fnmatch() vs. glob.glob() Ben Finney <ben+python@benfinney.id.au> - 2016-03-08 12:49 +1100
Re: fnmatch() vs. glob.glob() Chris Angelico <rosuav@gmail.com> - 2016-03-08 12:56 +1100
Re: fnmatch() vs. glob.glob() MRAB <python@mrabarnett.plus.com> - 2016-03-08 02:35 +0000
Re: fnmatch() vs. glob.glob() Steven D'Aprano <steve@pearwood.info> - 2016-03-08 13:19 +1100
csiph-web