Hint: Java sends a '\n' character at the end.
--
http://mail.python.org/mailman/listinfo/python-list
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,
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
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