I made a simple python script to post data on a website.
#Imports url_to_short = sys.argv[1] post_url = \'https://www.googleapis.com/urlshortener/v1/url\'
As your code is not contained in a class or function it is expecting those variables to be constants and as such they should be uppercase.
You can read PEP8 for further information.