Sep 182010
Write Python script using utf-8
Answer:
If you have UTF-8 characters in your Python script, you need to declare the following line at the beginning of your script:
# -*- coding: utf-8 -*-
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Write Python script using utf-8
Answer:
If you have UTF-8 characters in your Python script, you need to declare the following line at the beginning of your script:
# -*- coding: utf-8 -*-