Last active
December 18, 2015 09:49
-
-
Save iezg/5764621 to your computer and use it in GitHub Desktop.
Tizen package name generator
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
import string | |
import random | |
def generate_tizen_app_id(self): | |
"""Generates a 10-character alphanumeric value used to identify | |
a Tizen application""" | |
chars = string.ascii_letters + string.digits | |
return ''.join(random.choice(chars) for x in range(10)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment