Skip to content

Instantly share code, notes, and snippets.

@Vineet-Mehta
Vineet-Mehta / Python_session_2.rst
Last active February 17, 2017 12:20
Python automation and bash

Requests HTTP Library

1 GET The GET method is used to retrieve information from the given server using a given URI. Requests using GET should only retrieve data and should have no other effect on the data.

2 HEAD Same as GET, but transfers the status line and header section only.

Introduction to Python

When I need to build a web app, I reach for Python. When I need to automate some small task on my system, I reach for Python. When I want to find the most common colors in an image, I reach for Python. When I…OK, I think you get the picture. Basically, when I need to code something and the language doesn’t matter, I use Python. So what is Python?