def create_from_path(self):
import requests<EOL>url_path = urlparse(self.__url).path<EOL>try:<EOL><INDENT>url_extension = get_extension(url_path.rstrip("<STR_LIT:/>"))<EOL><DEDENT>except InvalidFilePathError:<EOL><INDENT>raise UrlError("<STR_LIT>")<EOL><DEDENT>logger.debug("<STR_LIT>".format(url_extension))<EOL>loader_class = self._get_loader_class(self._get_extension_loader_mapping(), url_extension)<EOL>try:<EOL><INDENT>self._fetch_source(loader_class)<EOL><DEDENT>except requests.exceptions.ProxyError as e:<EOL><INDENT>raise ProxyError(e)<EOL><DEDENT>loader = self._create_from_extension(url_extension)<EOL>logger.debug("<STR_LIT>".format(loader.format_name))<EOL>return loader<EOL>
Create a file loader from the file extension to loading file.
Supported file extensions are as follows:

    =========================================  =====================================
    Extension                                  Loader
    =========================================  =====================================
    ``"csv"``                                  :py:class:`~.CsvTableTextLoader`
    ``"xls"``/``"xlsx"``                       :py:class:`~.ExcelTableFileLoader`
    ``"htm"``/``"html"``/``"asp"``/``"aspx"``  :py:class:`~.HtmlTableTextLoader`
    ``"json"``                                 :py:class:`~.JsonTableTextLoader`
    ``"jsonl"``/``"ldjson"``/``"ndjson"``      :py:class:`~.JsonLinesTableTextLoader`
    ``"ltsv"``                                 :py:class:`~.LtsvTableTextLoader`
    ``"md"``                                   :py:class:`~.MarkdownTableTextLoader`
    ``"sqlite"``/``"sqlite3"``                 :py:class:`~.SqliteFileLoader`
    ``"tsv"``                                  :py:class:`~.TsvTableTextLoader`
    =========================================  =====================================

:return:
    Loader that coincides with the file extension of the URL.
:raises pytablereader.UrlError: If unacceptable URL format.
:raises pytablereader.LoaderNotFoundError:
    |LoaderNotFoundError_desc| loading the URL.