Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/d/i/Discover-Aristotle-HEAD/aristotle/apps/grx/management/commands/grxindex.py   Discover-Aristotle(Download)
                # guess parser based on file extension
                if file_or_url.endswith('.mrc'):
                    import grx.parsers.marc2grx as module
            if not module:
                raise mb.CommandError("Please specify a parser.")