Re: Execute a method in a file in an egg

2011-08-24 Thread Sebastien Douche
On Wed, Aug 24, 2011 at 12:04, Gabriel Genellina 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 Twitter : @sd

Re: Execute a method in a file in an egg

2011-08-24 Thread Gabriel Genellina
En Tue, 23 Aug 2011 13:14:06 -0300, RVince 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 -- http://mail.python.org/mailman/listinfo/python-list