Re: Client Socket Connection to Java server

2009-01-16 Thread Venkatraman.S.
Hint: Java sends a '\n' character at the end. -- http://mail.python.org/mailman/listinfo/python-list

Re: managing properties/configurations

2008-05-16 Thread Venkatraman.S.
On May 16, 7:45 am, "A.T.Hofkamp" <[EMAIL PROTECTED]> wrote: Thanks > By picking better names, the config gets much more readable. > > The big advantage here is that a config file is something readable and > editable > without appearing it to be Python. > If this is too low level for your users,

Re: managing properties/configurations

2008-05-15 Thread Venkatraman.S.
Or a better example would be: I have the params in a config file and import this module: myconfig.py a=10 b=30 c=31 d=40 import myconfig def checkCutoff(self,up,down): .do some processing if (a <= score <= b): result="Bad" elif (c <= score

managing properties/configurations

2008-05-15 Thread Venkatraman.S.
Hi, Am sure many would have stumbled on this situation while developing an application in Python which is highly driven by configuration/ properties. I have an application (obviously written in Python) wherein the properties change frequently and the program needs to work according to the new rul