-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Revilo0509 edited this page Oct 14, 2024
·
4 revisions
This is the wiki for ReviloLib
Clears the terminal
Args:
menyOptions (List): A list containing all of the available option to choose in the menu.
menyName (str, optional): The name of the menu. Defaults to "".
wrapAround (bool, optional): Dictates if you can "wrap around" the menu. ex last item to first or vise versa. Defaults to False.
returnInt (bool, optional): Dictates if to return the index of the selected meny Items instead of string. Defaults to False.
clearOnExit (bool, optional): Clear the menu on exit. Defaults to True.
Returns:
String or Integer: Defaulty returns the string of selected item. Returns a Integer if returnInt is true.
Args:
questionMessage (String): The message that should be asked to the user.
inputType (String): A string that indicates what type of data that should be returned
minVal (Integer, optional): If inputType == Int you can set the minimun value that the user needs to input. Defaults to None.
Returns:
Depends on inputType: returns the users answer
Args:
Length (Int): The length of the random string
Uppercase (bool, optional): Dictats whenever the string should have uppercase letters or not. Defaults to True.
Lowercase (bool, optional): Dictats whenever the string should have undercase letters or not. Defaults to True.
Numbers (bool, optional): Dictats whenever the string should have numbers or not. Defaults to True.
Symbols (bool, optional): Dictats whenever the string should have symbols or not. Defaults to True.
Returns:
String: Returns a random string
Removes Unnessery ifs and whatnot therefor its "Fast"
Args:
Length (Integer): Length of the random string
Returns:
String: returns a random string