Skip to content

Instantly share code, notes, and snippets.

@jacoelho
Created December 31, 2015 12:35
Show Gist options
  • Select an option

  • Save jacoelho/5bf5165a307dc5497783 to your computer and use it in GitHub Desktop.

Select an option

Save jacoelho/5bf5165a307dc5497783 to your computer and use it in GitHub Desktop.
import sys
def lambda_handler(event, context):
print(
' '.join(sys.modules.keys())
)
# heapq code functools random wsgi sysconfig logging.os
# encodings.encodings logging.weakref tempfile base64
# _json imp collections logging.thread wsgiref.os zipimport
# string SocketServer textwrap ssl json.encoder signal
# threading cStringIO logging.threading atexit wsgiref.urllib
# wsgiref.posixpath encodings BaseHTTPServer wsgiref.BaseHTTPServer
# logging.traceback abc rfc822 urllib re math fcntl wsgiref.re
# UserDict json.scanner codecs logging.sys struct json.re
# _locale logging socket thread traceback wsgiref weakref
# itertools runtime os mimetools encodings.binascii __future__
# _collections _sre __builtin__ operator wsgiref.types json.struct
# select _heapq posixpath errno _socket binascii sre_constants
# logging.codecs json os.path wsgiref.time _warnings json._json
# _functools encodings.__builtin__ _codecs wsgiref.wsgiref json.sys
# pwd logging.atexit _sysconfigdata _struct hashlib wsgiref.util
# keyword logging.time lambda_function posix encodings.aliases
# exceptions sre_parse wsgiref.headers logging.warnings json.decoder
# copy_reg sre_compile wsgiref.simple_server logging.cStringIO _random
# site logging.collections contextlib io __main__ urlparse strop
# linecache wsgiref.handlers encodings.codecs encodings.hex_codec
# _abcoll genericpath stat _ssl warnings encodings.ascii json.json
# encodings.utf_8 sys _hashlib codeop types _weakref wsgiref.sys
# _io _weakrefset time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment