Created
July 20, 2014 11:57
-
-
Save boo1ean/be7fa2a94fcaa041f603 to your computer and use it in GitHub Desktop.
This file contains 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
import db | |
from multiprocessing import Pool | |
def process_pollution(wb): | |
pass | |
if __name__ == '__main__': | |
items = db.waterbodies.find() | |
p = Pool(16) | |
p.map(process_pollution, items) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment