On 6 Eylül, 19:19, Steven Bethard <[EMAIL PROTECTED]> wrote:
> Sönmez Kartal wrote:
> > I was using the XMLBuilder(xmlbuilder.py). I'm writing XML files as
> > "f.write(str(xml))". At execution of that line, it gives error with
> > description, configure your default encoding...
>
> [and later]
>
>
Sönmez Kartal wrote:
> I was using the XMLBuilder(xmlbuilder.py). I'm writing XML files as
> "f.write(str(xml))". At execution of that line, it gives error with
> description, configure your default encoding...
>
[and later]
>
> http://rafb.net/p/RfaF8215.html
>
> products in the code is a list of
On 6 sep, 08:13, Sönmez Kartal <[EMAIL PROTECTED]> wrote:
> On 3 Eylül, 05:40, Steven Bethard <[EMAIL PROTECTED]> wrote:
> > Sönmez Kartal wrote:
> > > I was using the XMLBuilder(xmlbuilder.py). I'm writing XML files as
> > > "f.write(str(xml))". At execution of that line, it gives error with
> > >
On 3 Eylül, 05:40, Steven Bethard <[EMAIL PROTECTED]> wrote:
> Sönmez Kartal wrote:
> > I was using the XMLBuilder(xmlbuilder.py). I'm writing XML files as
> > "f.write(str(xml))". At execution of that line, it gives error with
> > description, configure your default encoding...
>
> [and later]
>
>
Sönmez Kartal wrote:
> I was using the XMLBuilder(xmlbuilder.py). I'm writing XML files as
> "f.write(str(xml))". At execution of that line, it gives error with
> description, configure your default encoding...
>
[and later]
>
> I get this when it happens: "Decoding Error: You must configure
> defa
gt; "sys.setdefaultencoding('utf-8')"...
> >>> My first try wasn't successful since setdefaultencoding is not named
> >>> when I imported sys module. After, I import sys module, I needed to
> >>> write "reload(sys)" also.
> >&g
gt; > I've had an encoding issue and solved it by
> >> > "sys.setdefaultencoding('utf-8')"...
>
> >> > My first try wasn't successful since setdefaultencoding is not named
> >> > when I imported sys module. After, I import sys module, I needed to
&g
successful since setdefaultencoding is not named
>>> when I imported sys module. After, I import sys module, I needed to
>>> write "reload(sys)" also.
>>> I wonder why we need to call "reload(sys)" to get setdefaultencoding
>>> named?
>&
27;)"...
>>
>> > My first try wasn't successful since setdefaultencoding is not named
>> > when I imported sys module. After, I import sys module, I needed to
>> > write "reload(sys)" also.
>>
>> > I wonder why we need to call "reload(sys)&quo
is not named
> > when I imported sys module. After, I import sys module, I needed to
> > write "reload(sys)" also.
>
> > I wonder why we need to call "reload(sys)" to get setdefaultencoding
> > named?
>
> sys.setdefaultencoding is purposely delet
Sönmez Kartal wrote:
> I've had an encoding issue and solved it by
> "sys.setdefaultencoding('utf-8')"...
>
> My first try wasn't successful since setdefaultencoding is not named
> when I imported sys module. After, I import sys module, I needed to
>
Hello,
I've had an encoding issue and solved it by
"sys.setdefaultencoding('utf-8')"...
My first try wasn't successful since setdefaultencoding is not named
when I imported sys module. After, I import sys module, I needed to
write "reload(sys)" also.
hi nick,
have you found any solutions to this problem.
maybe sys module does not need to be reloaded.
may Tim peters and the rest can help us on this
--
http://mail.python.org/mailman/listinfo/python-list
Looks like a bug (probably in IDLE): when I start IDLE from the command
line, it pops up its interaction window and here is what it says about
stdout:
IDLE 1.1.2
>>> import sys
>>> sys.stdout
Then I try the reload and I get no output in the interaction
windo
'_socket',
'binascii', 'sre_constants', 'types', 'idlelib.__builtin__',
'idlelib.tkMessageBox', 'cPickle', '_codecs', 'encodings.cp1252',
'idlelib.repr', 'idlelib.Queue', 'idlelib.__ma
15 matches
Mail list logo