GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — blog-code-examples/aws-lambda-python-2-7/lambda.py at master · fullstackpython/blog-code-examples Expand file tree/ Copy pathlambda.pyMore file actions 13 lines (10 loc) · 388 Bytes / Copy pathlambda.pyFile metadata and controls13 lines (10 loc) · 388 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 import os def lambda_handler(event, context): what_to_print = os.environ.get("what_to_print") how_many_times = int(os.environ.get("how_many_times")) # make sure what_to_print and how_many_times values exist if what_to_print and how_many_times > 0: for i in range(0, how_many_times): print(what_to_print) return what_to_print return None |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |