This is a simple python program that generates random words including gibberish ones based on how many letters that the user chooses
This is a simple python program that generates random words including gibberish ones based on how many letters that the user chooses
I built a simple python program that generates gibberish and random words based on how many letters that the user has chosen. There are two modes in this program, one which is a gui option in which users can interact and there’s a non gui option in which users can interact using python’s input. The gui was built in Qt and as a way of learning how Qt for Python works and it was quite challenging to work around with since guides on the internet aren’t quite clear enough in my opinion, at first it was quite similar to roblox guis that i have worked on in the past but for Qt in python, it was a little bit more advanced and i wasn’t really familiar with how the Qt code works since i was more used to tkinter back then when i was working with python guis. I managed to finally understand how the Python Qt code and Qt itself works now and the elements of it.
I do want to note that this is my first project being shipped and i thought i wanted to start out with something simple. Overall, i’m really glad how this as my first project turned out and i can’t wait to see what happens next 
How it works is you take random letters in a tuple, put those letters into an array and randomize these letters. After that you then take these randomized letters and combine those randomized letters together as a string. Based on how many letters that are there in a word that the user has chosen. For example, if the user chose four letters, it will be generated as a four letter word. A user can also select between the gui option where they can interact with the gui instead of the terminal or simply using the non gui option which users can interact via the terminal 
Log in to leave a comment
Wow! My first devlog! Anyways, this is a simple python program that generates random words based on the amount of words you choose to generate.
How it works is that depending on the amount of words you chose to generate, it takes a random letter from a tuple that contains letters, then the random letter that is a string goes into a nested list of other random letters, there are a group of lists in a list that contains the letters in a list. After that, it prints the output of the amount of random words generated the user chose by picking a list inside of a list, then joining the strings together inside of that list and for the rest of the others, finally joining these combined strings from groups of list creating an output of randomly generated words.
I do want to note that this is a prototype of the idea of this project, changes may vary
Log in to leave a comment