Sorry, second log not complete
Archlinux -------------------------------------------------------------------------------------------------------------------------------- [vincent@myhost ~]$ python string_2.py
Python version: 3.2.2 Linux-3.0-ARCH-x86_64-Pentium-R-_Dual-Core_CPU_T4500_@_2.30GHz-with-glibc2.2.5
Path: /home/vincent/image.jpg, Type: <class 'str'> File exists Traceback (most recent call last): File "string_2.py", line 13, in <module> print('\nPath: {0}, Type: {1}'.format(path, type(path))) UnicodeEncodeError: 'ascii' codec can't encode characters in position 21-25: ordinal not in range(128) [vincent@myhost ~]$ -----------------------------------------------------------------------------------------------------------------------------------
Sorry, second log not complete
Archlinux ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
-------
[vincent@myhost ~]$ python string_2.py
Python version: 3.2.2 0-ARCH- x86_64- Pentium- R-_Dual- Core_CPU_ T4500_@ _2.30GHz- with-glibc2. 2.5
Linux-3.
Path: /home/vincent/ image.jpg, Type: <class 'str'> ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----
File exists
Traceback (most recent call last):
File "string_2.py", line 13, in <module>
print('\nPath: {0}, Type: {1}'.format(path, type(path)))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 21-25: ordinal not in range(128)
[vincent@myhost ~]$
-------