Skip to content

Instantly share code, notes, and snippets.

@dave5
Created January 18, 2012 00:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dave5/1630037 to your computer and use it in GitHub Desktop.
Save dave5/1630037 to your computer and use it in GitHub Desktop.
New __main__
## main
if __name__ == "__main__":#
keydata = urlencode((app_key, user_access_key))
success, nodes = get_manufacturing_nodes(baseURL, keydata)
if success:
print success, nodes
for i in range(len(nodes)):
update_node_materials(nodes[i], baseURL, keydata)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment