[Tutor] Slack Token Invalid Syntax
Alan Gauld
alan.gauld at btinternet.com
Sat Apr 16 19:18:24 EDT 2016
On 14/04/16 01:22, Malcolm Boone wrote:
> advance if I've done this wrong.
Nope, for a first post its pretty good. :-)
> this error:
>
> File "C:\Users\malco\Anaconda3\Lib\Slack-File-Delete.py", line 6
> _token = xoxp-14301025207-14298191955-14452030292-**********
> SyntaxError: invalid syntax
>
Which is quite correct, that's not a valid line of Python.
I suspect the right hand side should be a string?
>
> _token = xoxp-14301025207-14298191955-14452030292-**********
> _domain = oasis-vape.slack.com
And I'm pretty sure the same is true of the _domain line too?
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list