Inserting-embedding some html data at the end of a .py file

Νίκος Γκρ33κ nikos.gr33k at gmail.com
Thu Mar 7 07:06:54 EST 2013


An these kind of errors iam receiving to please:

Original exception was:
Traceback (most recent call last):
  File "pelatologio.py", line 230, in <module>
    ''') % (clients, hits, money)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 102-108: ordinal not in range(128)

in python v2.6.6 this code works and now i'am using:

#!/usr/bin/python3
# -*- coding: utf-8 -*-



More information about the Python-list mailing list