def generate_file_name()

in fsxlcw/utils/diskfill.py [0:0]


def generate_file_name():
    """
    Generate a random string
    """
    import string
    import random # define the random module

    S = 10  # number of characters in the string.
    # call random.choices() string module to find the string in Uppercase + numeric data.
    ran = ''.join( random.choices( string.ascii_uppercase + string.digits, k = S ))

    # print("The randomly generated string is : " + str(ran)) # print the random data
    return ran