[ ] Monday, 14 September 2015 [ ]

Sine Rule - using Python

Python sine uses radians so to get the correct answer in python, I needed:

math.sin(math.radians(54)) * 3 / math.sin(math.radians(27))
The hint was obvious.

PoC||GTFO

When checking ETag status for a change in a file need to quote the Etag: "1234-5678-4321".

To debug urllib2 you need HTTPHandler or HTTPSHandler, ie,

opener = urllib2.build_opener(urllib2.HTTPSHandler(debuglevel=level))

pythonpoc


$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $