Skip to content

Instantly share code, notes, and snippets.

@kilon kilon/getversion.py
Last active Jun 6, 2018

Embed
What would you like to do?
Get version info from repository
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
You can’t perform that action at this time.