Hello. I've only just started out in Python and I'm not very good at it. I have a project in which I have to create a sort of spell checking program. No, I'm not asking for you to do my homework, but to assist me, by pointing me in the right direction.
We have been supplied a .txt file which is a dictionary of words on single lines. The program is required to ask for user input, for the text file to be checked. It will then output a text file with the words that have been miss spelt, in alphabetical order.
So far, I have got Python to import the dictionary text file and to split the words into lists, ask the user for the file name to be checked, import the file specified by the user and written the code for the output of the text file with the list of miss spelt words. It is the stuff in between I'm not sure how to tackle.
Hopefully someone can help me with this problem.
Thank you.
We have been supplied a .txt file which is a dictionary of words on single lines. The program is required to ask for user input, for the text file to be checked. It will then output a text file with the words that have been miss spelt, in alphabetical order.
So far, I have got Python to import the dictionary text file and to split the words into lists, ask the user for the file name to be checked, import the file specified by the user and written the code for the output of the text file with the list of miss spelt words. It is the stuff in between I'm not sure how to tackle.
Hopefully someone can help me with this problem.
Thank you.
Comment