@TutorialDoctor , you are welcome to use any of it you want. As I say, I am mainly just putting together other people's work. It's been published on the forum before in simlar ways. I just try to,acknowledge them when I know we're it comes from. So as far as I can see its ok to use it.
I have taken that to be the general common sense rule here.
Unexpected EOF( End Of File ) while parsing is a syntax error which means the end of source code is reached even before all the blocks of code are completed. This happens in a number of situations in Python, such as:
Missing or unmatched parentheses.
Forget to enclose code inside a special statement.
Unfinished try statement.
To solve this error, first check to make sure that every if statement, for loop, while loop, try statement and function contains code. Second, check to make sure you close all the parenthesis in your code. Moreover, you can avoid this problem by keeping code neat and readable, making it easier to find and fix the problem whenever the error does occur.
You control your destiny. Ask Jesus for forgiveness. He forgives all sin we confess. Believe in him. When Jesus forgives us, anything we have done in the past is gone and forgotten. Only our own guilt will prevent us from enjoying everything He has given us.
"Jesus replied, 'Very truly I tell you, no one can see the kingdom of God unless they are born again.'"-NIV Bible John 3:3.
"For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life. For God did not send his Son into the world to condemn the world, but to save the world through him. Whoever believes in him is not condemned, but whoever does not believe stands condemned already because they have not believed in the name of God’s one and Son."-NIV Bible, John 3:16-18.
Thanks for the help.