I hereby claim:
- I am mcstafford-git on github.
- I am mcstafford (https://keybase.io/mcstafford) on keybase.
- I have a public key ASApMJlPh7AN_TeOx7-dYqw7NQvyQmy9WmklVzgrqyuWpAo
To claim this, I am signing this object:
#!/usr/bin/env pytest | |
""" | |
Configuring python test environment to work against LocalStack | |
Expanding upon README.md in https://github.com/localstack/localstack-python-client | |
Pre-reqquisites: | |
pip install localstack-client pytest && | |
git clone https://github.com/localstack/localstack.git && |
I hereby claim:
To claim this, I am signing this object:
""" | |
Python's lambda is an alternative way to create a function, | |
something like anonymous functions in pl/sql, and javascript. | |
""" | |
def input_times_whatever(n): | |
return lambda a: a * n |
# variable scope, lifetime | |
# modified from stackoverflow https://goo.gl/Gy5Ai7 | |
import multiprocessing | |
import os | |
def hey(pid, message): | |
global i | |
global queue |