Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
List of ubuntu supported series from launchpad
import json
import urllib
series = json.load(urllib.urlopen('https://api.launchpad.net/1.0/ubuntu/series'))
print [entry['name'] for entry in series['entries'] if entry['supported']]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment