From: Led <ledest@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Требования к модулям. was: Собираем Python-2.6
Date: Thu, 23 Jul 2009 18:48:45 +0300
Message-ID: <200907231848.45637.ledest@gmail.com> (raw)
In-Reply-To: <m37hxze9c9.fsf@thinkpad.oxyum.localnet>
On Thursday 23 July 2009 17:56:54 Ivan Fedorov wrote:
> Andrey Rahmatullin <wrar-u2l5PoMzF/Uox3rIn2DAYQ@public.gmane.org>
>
> writes:
> > On Thu, Jul 23, 2009 at 05:16:41PM +0400, Ivan Fedorov wrote:
> >> Думаю имеется ввиду, что некоторые кривые модули ставят в %_bindir файлы
> >> с раширением .py, что естественно позволяет создать для них .pyc.
> >
> > А эти .pyc ведь всё равно подхватываются только при import, а не прямом
> > выполнении через интерпретатор?
>
> ага. ...но можно конечно сказать python XXX.pyc ...наверное сработает.
Можно. А ещё можно просто:
./XXX.pyc
или даже
mv XXX.pyc XXX
./XXX
(при условии, что XXX.pyc/XXX - исполняемые и binfmt настроен)
--
Led
next prev parent reply other threads:[~2009-07-23 15:48 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-21 18:40 Evgeny Sinelnikov
2009-07-21 19:07 ` Andrey Rahmatullin
2009-07-21 19:38 ` Ivan Fedorov
2009-07-21 19:42 ` Alexey I. Froloff
2009-07-21 19:43 ` Alexey I. Froloff
2009-07-21 19:49 ` Andrey Rahmatullin
2009-07-21 19:39 ` Alexey I. Froloff
2009-07-21 20:13 ` Dmitry V. Levin
2009-07-22 17:53 ` Igor Vlasenko
2009-07-22 18:33 ` Evgeny Sinelnikov
2009-07-22 19:05 ` Igor Vlasenko
2009-07-23 7:30 ` Igor Vlasenko
2009-07-23 7:43 ` Igor Vlasenko
2009-07-23 7:51 ` Yury Yurevich
2009-07-23 8:25 ` Igor Vlasenko
2009-07-23 11:54 ` Eugene Prokopiev
2009-07-23 12:10 ` Ivan Fedorov
2009-07-23 12:49 ` Led
2009-07-23 12:58 ` Andrey Rahmatullin
2009-07-23 12:58 ` Led
2009-07-23 13:06 ` Andrey Rahmatullin
2009-07-23 13:16 ` Ivan Fedorov
2009-07-23 13:23 ` Andrey Rahmatullin
2009-07-23 14:56 ` Ivan Fedorov
2009-07-23 15:48 ` Led [this message]
2009-07-24 18:36 ` Michael Shigorin
2009-07-24 18:45 ` Ivan Fedorov
2009-07-24 20:01 ` Led
2009-07-25 0:13 ` Mykola S. Grechukh
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=200907231848.45637.ledest@gmail.com \
--to=ledest@gmail.com \
--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