Last active
August 29, 2015 14:03
-
-
Save xnox/7bfd949a107125e045a6 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
In [1]: lp | |
Out[1]: <launchpadlib.launchpad.Launchpad at 0x7f49ecc649b0> | |
In [2]: lp.distributions | |
Out[2]: <launchpadlib.launchpad.DistributionSet at 0x7f49ddf0e630> | |
In [3]: lp.distributions['ubuntu'] | |
Out[3]: <distribution at https://api.launchpad.net/1.0/ubuntu> | |
In [4]: lp.distributions['ubuntu'].display_name | |
Out[4]: 'Ubuntu' | |
In [5]: lp.distributions['ubuntu'].summary | |
Out[5]: 'Ubuntu is a complete Linux-based operating system, freely available with both community and professional support.' | |
In [7]: import sys; print(sys.version) | |
3.4.1 (default, Jun 9 2014, 17:34:49) | |
[GCC 4.8.3] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment