• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.

    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Python Help generating word list from dictionary


New Coder
First of all disclaimer I am new to python .

I am trying to generate a wordlist of 6- whatever character words where:

the first part is a word from English dictionary that starts with a capital letter.

The last 5 characters are 8765. Please note it ends in a period.

I've been trying for the last hour to make it work properly going through the man pages and threads. But I can't seem to be able to get it to work. My main issues are getting the dictionary list from GitHub, then making it start with a capital letter.

Ideally it would be 9- 11 or 12 characters but I’m uninterested at this point in figuring out how to do that, I’ll do that another time. The problem there is using a dictionary list obviously they have 2 letter and longer letter words that using that ending would exclude 2 letter English words and perhaps truncate longer words.