ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Kolotov Alexandr <akmypost@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: TkInter - русофоб
Date: Fri, 14 Jan 2005 11:47:06 +0300
Message-ID: <41E7870A.8050300@mail.ru> (raw)
In-Reply-To: <41E6D49D.2030803@mtu-net.ru>

>> делаешь комментарий _* koi8-r *_
>> а дальше перед каждой строкой пишешь u"Русский", буква u обязательна....
> Прошу прощения за несообразительность - где ставить?
> Чисто конкретно - место с проблемой:
>  for l in resvote:
>    votres.insert(END, l)
> здесь resvote получено из файла как:
> resvote=fin.readlines()
> т.е. суть набор строк в коих и есть киррилица.
> Кстати - print resvote тоже выводит не то (hex-коды)
> И где тут ставить комментарий и u"Русский"?
Второй строчкой в скрипте

#!/usr/bin/python
# -*- coding: KOI8-R -*-

-- 
С уважением, Kolotov Alexandr aka mr. Эбола
              отвечать: akmypost@mail.ru
                   ICQ: 100349254

    ---------------------------------------
   |  Registered Linux user       # 236664 |
    ---------------------------------------



  reply	other threads:[~2005-01-14  8:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-13  8:39 [Comm] " Oleg N. Kayunov
2005-01-13 10:00 ` vadim_r
2005-01-13 20:05   ` [Comm] " Oleg N. Kayunov
2005-01-14  8:47     ` Kolotov Alexandr [this message]
2005-01-13 20:58 ` [Comm] " Andrey Orlov
2005-01-13 22:03   ` [Comm] " Oleg N. Kayunov
2005-01-14  0:36     ` Andrey Orlov
2005-01-14  6:32     ` Guest007
2005-01-14  8:44     ` Kolotov Alexandr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41E7870A.8050300@mail.ru \
    --to=akmypost@mail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git