What's the best way to use curl in Python for web requests? or How do I replace curl commands with Py

16 Replies, 872 Views

pycurl is fast but overkill for most things.

If you’re stuck on curl python, maybe try `httpie`? It’s like curl but more human-friendly, and it has a python lib (`httpie-api`).

Otherwise, `httpx` > `requests` if you want modern features (HTTP/2, async).

Messages In This Thread



Users browsing this thread: 1 Guest(s)