Execute a method in a file in an egg

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Aug 24 12:04:45 CEST 2011


En Tue, 23 Aug 2011 13:14:06 -0300, RVince <rvince99 at 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




More information about the Python-list mailing list