<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm slighty confused with python's string 
formatting operators.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Why is it that this prints as 
a&nbsp;string:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>channel, info = server.accept()</FONT></DIV>
<DIV><FONT face=Arial size=2>print "Connection from", info</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>And this doesn't?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face=Arial size=2>channel, info = server.accept()</FONT></DIV>
<DIV><FONT face=Arial size=2>print "Connection from 
%s"&nbsp;%&nbsp;info</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Also, anyone knows how do I pass arguments to a 
logger?</DIV>
<DIV><BR>logger.debug("Connection from:", args)</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks and chrs</DIV>
<DIV>j.</FONT></DIV></BODY></HTML>