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

16 Replies, 863 Views

subprocess for curl in python works but yeah, feels janky.

Pycurl’s docs are rough, and debugging is a pain.

If you’re doing simple HTTP stuff, `httpx` is my go-to. Async support out of the box if you need it later.

Btw, post your curl command—maybe we can help translate it to python properly.

Messages In This Thread



Users browsing this thread: 1 Guest(s)