February 12th, 2013, 03:43 PM
Syntax Error -- tried multiple things
The error message I'm receiving whenever I run my program:
vlan13-dhcp-21-62:~ Myname$ python (file path)/dvdrip rename
File "(filepath)/dvdrip", line 1
SyntaxError: Non-ASCII character '\x81' in file /(filepath) dvdrip on line 2, but no encoding declared; see Python page for details
This is the top of my Python:
I've tried multiple things for line two and nothing works!
February 12th, 2013, 04:33 PM
# -*- coding: <utf-8> -*-
Make sure your editor is set too.
Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25
February 13th, 2013, 12:34 PM
Thanks for the quick reply. Still nothing! Hmmm...
Originally Posted by Dietrich