Created
April 11, 2015 12:44
-
-
Save pelegm/2f7afe8a3c2a85318f84 to your computer and use it in GitHub Desktop.
ubuntu-codename
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
#!/usr/bin/python | |
import lsb_release | |
print lsb_release.get_lsb_information()['CODENAME'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment