I have a script in Python 2.7
The first line is this, it runs fine just from file tab.
#!/usr/bin/env python2.7
But I get an error if I run it as a scheduled task:
What do I need to do? Thanks!
I have a script in Python 2.7
The first line is this, it runs fine just from file tab.
#!/usr/bin/env python2.7
But I get an error if I run it as a scheduled task:
What do I need to do? Thanks!
I think that's a bug in our scheduled task "hashbang"-detection code. Try using
#!/usr/bin/python2.7
...instead.
That works perfect, thanks!
Thanks for confirming! I've made a note of the bug, we'll get it fixed.