Last active
June 6, 2018 23:25
-
-
Save kilon/41b5277ab6a7fa06481ba0345249a40c to your computer and use it in GitHub Desktop.
Get version info from repository
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
f = urllib.request.urlopen("https://raw.githubusercontent.com/kilon/morpheas/master/__init__.py") | |
r = f.read() | |
print(r) | |
bpy.context.user_preferences.version | |
import platform | |
platform.system() #returns 'Windows' | |
platform.release()#returns '10' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment