On Fri, Jan 07, 2011 at 01:04:15AM -0800, pan pan wrote: > Thanks so much Marius! The reason for sending out port, hostname and > ssl configuration is that there are several pylons running on > different machines. All of them need to register to a database so that > latter other client can query the database and then make the > connection. > > I tried to use config[__file__],
I'm very sorry, I meant config['__file__'] with the quotes.
Marius Gedminas
--
The primary purpose of the DATA statement is to give names to constants;
instead of referring to PI as 3.141592653589797, at every appearance,
the variable PI can be given that value with a DATA statement, and
used instead of the longer form of the constant. This also simplifies
modifying the program, should the value of PI change.
-- Fortran manual for Xerox computers
signature.asc
Description: Digital signature
