<div>
                    Hi Bino,
                </div><div><br></div><div>i _never_ write code using twisted (yet, i hope), but reading your question lead me to one (i think) example:</div><div><br></div><div><a href="https://github.com/praekelt/vumi/blob/develop/vumi/servicemaker.py#L174">https://github.com/praekelt/vumi/blob/develop/vumi/servicemaker.py#L174</a></div><div><br></div><div>hope it helps</div>
                <div><div><br></div><div>-- </div><div>Sayid Munawar</div><div>Sent with <a href="http://www.sparrowmailapp.com/?sig">Sparrow</a></div><div><br></div></div>
                 
                <p style="color: #A0A0A8;">On Monday, 11 November 2013 at 3:15 PM, bino@indoakses-online.com wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>Dear All.</div><div><br></div><div>Currently I have a single '.tac' file that use MultiService()</div><div><br></div><div>Ended with</div><div>----------------</div><div><br></div><div>#Create Application</div><div>print 'create application'</div><div>application = service.Application("Serial MultiService Example")</div><div>#Creating Multi Service</div><div>multiService = service.MultiService()</div><div>...</div><div>...</div><div>multiService.setServiceParent(application)</div><div><br></div><div>--------------</div><div>currently it works just fine</div><div><br></div><div><br></div><div>Now, i need to to able to run it using some parameter from the commandline.</div><div>I kne that I have to take 'tap' path.</div><div>I read <a href="http://docs.huihoo.com/python/twisted/howto/tap.html">http://docs.huihoo.com/python/twisted/howto/tap.html</a> but (thanks to</div><div>my lame brain) failed to understand on how to implement this to my</div><div>existing script.</div><div><br></div><div>Kindly please tell me how to do it or give me realy basic example on</div><div>using/migrating tac file with Twisted Application Plugin.</div><div><br></div><div>Sincerely</div><div>-bino-</div><div><br></div><div><br></div><div>_______________________________________________</div><div>Twisted-Python mailing list</div><div><a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a></div><div><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>