Created
September 12, 2016 10:13
-
-
Save goutham2027/138473dddf9d9cdf34abb03c6e7e4d9f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def using_context_info(event, context): | |
info = { | |
'memory_limit_in_mb': context.memory_limit_in_mb, | |
'html_length': len(html) | |
} | |
return info | |
def length_of_html(event, context): | |
response = urllib2.urlopen('http://www.beautifulcode.in') | |
html = response.read() | |
response.close() | |
info = {'html_length': len(html)} | |
return info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment