Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12100 > unrolled thread
| Started by | RVince <rvince99@gmail.com> |
|---|---|
| First post | 2011-08-23 09:14 -0700 |
| Last post | 2011-08-24 14:22 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.python
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
| From | RVince <rvince99@gmail.com> |
|---|---|
| Date | 2011-08-23 09:14 -0700 |
| Subject | Execute a method in a file in an egg |
| Message-ID | <ca878c7e-3626-4074-a53a-4a2d7130c414@b11g2000vbz.googlegroups.com> |
Is there a way to do this from the command line? Thanks.
[toc] | [next] | [standalone]
| From | "Gabriel Genellina" <gagsl-py2@yahoo.com.ar> |
|---|---|
| Date | 2011-08-24 07:04 -0300 |
| Message-ID | <mailman.383.1314180119.27778.python-list@python.org> |
| In reply to | #12100 |
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
[toc] | [prev] | [next] | [standalone]
| From | Sebastien Douche <sdouche@gmail.com> |
|---|---|
| Date | 2011-08-24 14:22 +0200 |
| Message-ID | <mailman.388.1314188573.27778.python-list@python.org> |
| In reply to | #12100 |
On Wed, Aug 24, 2011 at 12:04, Gabriel Genellina <gagsl-py2@yahoo.com.ar> wrote: >> 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)" Or with console_scripts option in setup.py. -- Sebastien Douche <sdouche@gmail.com> Twitter : @sdouche
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web