Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cdnpayroll.py
Date: Sun, 26 Jan 2014 02:10:47
Message-Id: 20140126021049.GC18864@syscon7.ed.shawcable.net
In Reply to: Re: [gentoo-user] cdnpayroll.py by David Abbott
1 On 01/25/14 14:21, David Abbott wrote:
2 >On Sat, Jan 25, 2014 at 1:15 PM, Joseph <syscon780@×××××.com> wrote:
3 >> I'm using a python script "cdnpayroll.py" but for some reason or another is
4 >> giving me an error:
5 >>
6 >> File "./cdnpayroll.py", line 160
7 >> '''
8 >> ^
9 >> SyntaxError: invalid syntax
10 >>
11 >> I tried to remove the single quote from several places but I'm still getting
12 >> an error.
13 >>
14 >> File "./cdnpayroll.py", line 1328
15 >> ^
16 >> SyntaxError: EOF while scanning triple-quoted string literal
17 >
18 >Try changing the shebang from:to
19 >#!/usr/bin/python /#!/usr/bin/python2
20 >HTH
21 >
22 >>
23 >> They used to have a web-page but now all I can find is:
24 >> http://cdnpayroll.gemlog.ca/
25 >> I think it was written by Paul Evans
26
27 Thanks David, that was it. It should be /#!/usr/bin/python2
28
29 --
30 Joseph

Replies

Subject Author
[gentoo-user] Re: cdnpayroll.py eroen <eroen@××××××××××××.eu>