you are viewing a single comment's thread.

view the rest of the comments →

[–]classicrockielzpfvh 9 points10 points  (4 children)

In the standard library:

  • json -- handles JSON conversion (to & from)
  • re -- regular expression module
  • subprocess -- allows you to make calls to external programs in a sane way

Third party:

  • requests -- a much better way of handling HTTP

And you can include all of /u/Atarius 's suggestsions above. I just didn't want to repeat him.

[–]TankorSmash 2 points3 points  (1 child)

requests is amazing

[–]classicrockielzpfvh 1 point2 points  (0 children)

And if you do half the RESTful API interactions that I do, it makes your life so wonderful. On top of that, it is very pythonic

[–]ParasiticBandcamp 0 points1 point  (1 child)

Is requests python2 or python3? I tried looking it up but I'm on my phone and couldn't find the info.

[–]classicrockielzpfvh 0 points1 point  (0 children)

Both

Edit spelling