![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: Unicode, command-line and idle
From: <a.serrano@vielca.com>
Date: Tue Apr 11 2006 - 17:19:29 CEST
Hello again, I've investigated a little bit and this is what I found:
If I run IDLE and type
>>> import sys
I get
'cp1252'
But if I have a whatever.py file (it can even be a blank file), I edit
>>> import sys
I get
Traceback (most recent call last):
So when I have the following code in a file:
# -*- coding: cp1252 -*-
and I press F5 (Run Module) I get:
Traceback (most recent call last):
This same code works if I just double-click it (run it in the windows
I'm using Python 2.4.3 and IDLE 1.1.3.
Armando.
|