Also when I type in the Token I write something like this
oauthToken = 'oauth:{0}'.format(token)
I’m following the same basic twitch bot on the github OP referred to
and I must also state that I’m using this as an excuse to learn Python 3.6 so my knowledge in python is limited I’m mostly getting by on random google searches and knowhow from other programming languages.
Nope, wrong place.
That gives you your client secret that’s used for securing and authenticating some of the communication between your app and the Twitch API - one of those things is the OAuth workflow to get the OAuth token.
If you only need an OAuth token to connect to chat, and nothing else, you can use this simple tool to get one: https://twitchapps.com/tmi/
If you want to do the OAuth workflow yourself and get a token (with maybe more permissions) this section of the docs is your friend (looks like a lot to swallow at first, but it’s actually way more easy and straight forward than it looks):