• Py chevron_right

      How to use httpx, a web client for Python

      pubsub.slavino.sk / pyopensource.com · Wednesday, 2 March, 2022 - 08:00 edit

    The httpx package for Python is a sophisticated web client. Once you install it, you can use it to get data from websites. As usual, the easiest way to install it is with the pip utility:

    $ python -m pip install httpx --user

    To use it, import it into a Python script, and then use the .get function to fetch data from a web address:


    Značky: #Python