[Tutor] Downloading Slack Files

2016-08-16 Thread Malcolm Boone
Hello everyone! I'm trying to run a python script that will download all files uploaded to my companies Slack account from the past 30 days. I'm new to Python, so to achieve this, I've just been editing a script that I use to delete all Slack files from the past 30 days. Here is the code I'm usin

Re: [Tutor] Slack Token Invalid Syntax

2016-04-19 Thread Malcolm Boone
So you are saying the right side should be a string, how do I do that? When I put quotes around the token it creates a dozen or so new errors. Unless I'm not even putting the quotes on correctly. On Sat, Apr 16, 2016 at 5:18 PM, Alan Gauld wrote: > On 14/04/16 01:22, Malcolm Boo

[Tutor] Slack Token Invalid Syntax

2016-04-16 Thread Malcolm Boone
_url, data = { "token": _token, "file": f["id"], "set_active": "true", "_attempts": "1"}) print "DONE!" --- --