Re: [Tutor] Creating a chat system Server

2008-09-16 Thread Winfried Tilanus
On 09/16/2008 W W wrote: Hi, > A lot of people referenced me to twisted whenever I asked about > sockets/threading. You might want to use xmpp (the protocol of jabber). Twisted can speak that, but there are other options. It is a quite versatile protocol: beside 'just chatting', about anything

Re: [Tutor] Web-templating systems

2006-04-27 Thread Winfried Tilanus
On 04/26/2006 Kent Johnson wrote: > I think Kid meets your requirements: > http://kid.lesscode.org/ > > Other template systems that seem to be popular these days: > Cheetah > HTMLTemplate > Myghty Thanks for the suggestions (also for those off-line). Kid and cheetah look the most promising. I wil

[Tutor] Web-templating systems (was: Re: Generating static WEB sites)

2006-04-26 Thread Winfried Tilanus
On 04/25/2006 Kent Johnson wrote: > Many. See this page, the sections Templating Engines, HTML Shorthand > Processors and HTML Generation class libraries: > http://wiki.python.org/moin/WebProgramming Hmmm,lets toss in my own problem: I know the list mentioned above, and it is too long for me to t

Re: [Tutor] redirecting output to logfile and logrotate

2005-07-23 Thread Winfried Tilanus
On Fri, 22 Jul 2005 11:46:09 -0700 (PDT), Danny Yoo wrote: Thanks Danny, (snip) >So if it's possible, I'd recommend using the RotatingFileHandler logger >from Python's 'logging' Standard Library module instead of 'logrotate'. That is the way I will go, the library (although not standard in Pyth

[Tutor] redirecting output to logfile and logrotate

2005-07-22 Thread Winfried Tilanus
Hi, I am installing a server-like python program that opens a logfile in the following way: # redirect output for logging to file applog = open(config.log, 'a', 1) sys.stdout = applog sys.stderr = sys.stdout Througout the program are lines like: print '[', time.ascti