DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Write Your Code Using Utf-8
# -*- coding: utf-8 -*-
Add this line at the beginning of your code. Python won't complain anymore about non-ascii characters in your code.





