00001 #!/usr/bin/env python 00002 import yaml, urllib2 00003 00004 megamanifest = urllib2.urlopen('http://www.ros.org/browse/megamanifest.yaml').read() 00005 d = yaml.load(megamanifest) 00006 print "%s packages"%(len(d))