[gentoo-user] cdnpayroll.py
I'm using a python script cdnpayroll.py but for some reason or another is giving me an error: File ./cdnpayroll.py, line 160 ''' ^ SyntaxError: invalid syntax I tried to remove the single quote from several places but I'm still getting an error. File ./cdnpayroll.py, line 1328 ^ SyntaxError: EOF while scanning triple-quoted string literal They used to have a web-page but now all I can find is: http://cdnpayroll.gemlog.ca/ I think it was written by Paul Evans -- Joseph
Re: [gentoo-user] cdnpayroll.py
- Original Message - From: Joseph Sent: 01/25/14 10:15 AM To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] cdnpayroll.py I'm using a python script cdnpayroll.py but for some reason or another is giving me an error: File ./cdnpayroll.py, line 160 ''' ^ SyntaxError: invalid syntax I tried to remove the single quote from several places but I'm still getting an error. File ./cdnpayroll.py, line 1328 ^ SyntaxError: EOF while scanning triple-quoted string literal They used to have a web-page but now all I can find is: http://cdnpayroll.gemlog.ca/ I think it was written by Paul Evans -- Joseph It's kind of hard to tell without seeing more. What version of python are you using? If you can attach the script, it'd make it much easier to figure out.
Re: [gentoo-user] cdnpayroll.py
On Sat, Jan 25, 2014 at 1:15 PM, Joseph syscon...@gmail.com wrote: I'm using a python script cdnpayroll.py but for some reason or another is giving me an error: File ./cdnpayroll.py, line 160 ''' ^ SyntaxError: invalid syntax I tried to remove the single quote from several places but I'm still getting an error. File ./cdnpayroll.py, line 1328 ^ SyntaxError: EOF while scanning triple-quoted string literal Try changing the shebang from:to #!/usr/bin/python /#!/usr/bin/python2 HTH They used to have a web-page but now all I can find is: http://cdnpayroll.gemlog.ca/ I think it was written by Paul Evans -- Joseph -- David
Re: [gentoo-user] cdnpayroll.py
On 01/25/14 14:21, David Abbott wrote: On Sat, Jan 25, 2014 at 1:15 PM, Joseph syscon...@gmail.com wrote: I'm using a python script cdnpayroll.py but for some reason or another is giving me an error: File ./cdnpayroll.py, line 160 ''' ^ SyntaxError: invalid syntax I tried to remove the single quote from several places but I'm still getting an error. File ./cdnpayroll.py, line 1328 ^ SyntaxError: EOF while scanning triple-quoted string literal Try changing the shebang from:to #!/usr/bin/python /#!/usr/bin/python2 HTH They used to have a web-page but now all I can find is: http://cdnpayroll.gemlog.ca/ I think it was written by Paul Evans Thanks David, that was it. It should be /#!/usr/bin/python2 -- Joseph