import urllib
# On the master node, fetch an image somewhere on the internet
if(isMaster())
urllib.urlretrieve("http://www.digimouth.com/news/media/2011/09/google-logo.jpg", "local-image.jpg")
# Call this when you are done
broadcastCommand('onImageLoaded()')
# This will be called on all nodes once the image is loaded. You can open the image here.
# (Assuming use of a shared filesystem in your cluster installation)
def onImageLoaded():
img = loadImage("local-image.jpg")For more information about the omegalib application control python API check this page!
