ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergei Epiphanov <serpiph@nikiet.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] python3
Date: Wed, 04 Apr 2012 11:37:16 +0400
Message-ID: <3753496.mKDz5DUQJ7@epiphanov.bkpi82.nikiet.ru> (raw)
In-Reply-To: <4F7BE74B.9090308@kemsu.ru>

On 4 апреля 2012 13:16 REAL wrote:
> Привет!
> 
> Пните меня куда-нибудь, пожалуйста, насчёт просветления.
> 
> $ python -c "from string import join"
> [отработало успешно]
> 
> $ python3 -c "from string import join"
> Traceback (most recent call last):
>    File "<string>", line 1, in <module>
> ImportError: cannot import name join

В python3 нет join, есть str.join(seq),
где str - любая строка
seq - последовательность

-- 
С уважением, Епифанов Сергей

  reply	other threads:[~2012-04-04  7:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-04  6:16 REAL
2012-04-04  7:37 ` Sergei Epiphanov [this message]
2012-04-04  7:42 ` Sergei Epiphanov
2012-04-04  7:46   ` REAL

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=3753496.mKDz5DUQJ7@epiphanov.bkpi82.nikiet.ru \
    --to=serpiph@nikiet.ru \
    --cc=devel@lists.altlinux.org \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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