Syntax Error in Python


#1

I got following Error,
syntaxerror non-ascii character ’ xe1’ in file

I tried to solve with,

#! /usr/bin/env python
#encoding:UTF-8 or # -- coding: utf-8 --

But still facing the same problem. Can you please help me to solve my problem ? I use python 2.7.5 in Opensuse.

volume_stl.py (2.5 KB)


#2

ok, I got the solution.