Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #12137

Re: Execute a method in a file in an egg

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'python': 0.08; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:method': 0.09; 'subject:file': 0.13; '"import': 0.16; 'from:addr:yahoo.com.ar': 0.16; 'this?': 0.21; 'tue,': 0.23; 'command': 0.24; 'aug': 0.24; 'thanks.': 0.26; 'there': 0.33; 'to:addr:python-list': 0.33; 'header:User-Agent:1': 0.34; 'header:X-Complaints-To:1': 0.35; 'something': 0.37; 'received:org': 0.38; 'skip:t 50': 0.38; 'subject:: ': 0.39; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'received:190': 0.76; '-0300,': 0.84; 'genellina': 0.84; 'gabriel': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From "Gabriel Genellina" <gagsl-py2@yahoo.com.ar>
Subject Re: Execute a method in a file in an egg
Date Wed, 24 Aug 2011 07:04:45 -0300
References <ca878c7e-3626-4074-a53a-4a2d7130c414@b11g2000vbz.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host 190.2.4.25
User-Agent Opera Mail/11.50 (Win32)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.383.1314180119.27778.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1314180119 news.xs4all.nl 23936 [2001:888:2000:d::a6]:60073
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:12137

Show key headers only | View raw


En Tue, 23 Aug 2011 13:14:06 -0300, RVince <rvince99@gmail.com> escribió:

> Is there a way to do this from the command line? Thanks.

Something like this?

python -c "import the.module;the.module.someclass().method(arguments)"

-- 
Gabriel Genellina

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Execute a method in a file in an egg RVince <rvince99@gmail.com> - 2011-08-23 09:14 -0700
  Re: Execute a method in a file in an egg "Gabriel Genellina" <gagsl-py2@yahoo.com.ar> - 2011-08-24 07:04 -0300
  Re: Execute a method in a file in an egg Sebastien Douche <sdouche@gmail.com> - 2011-08-24 14:22 +0200

csiph-web