[EMAIL PROTECTED] wrote:
So then
print >> a,b,c
is equivalent to
self.writeln(a,b,c)
well, no
print >>stream, 'string', var1, var2, whatever
is equivalent to
stream.write('string') stream.write(str(var1)) stream.write(str(var2)) stream.write(str(whatever)) stream.write('\n')
in other words
self.writeln(a,b,c)
looks like
print >>self, a, b, c
in this syntax, note the >>self and we presume that write converts arguments to strings (like response.write does) also, .write method of webware response class can take multiple arguments, some other streams do not, so this syntax is even more useful w/ them.
-- ÐÐÐÑÐ [ [EMAIL PROTECTED] // ICQ: 39027534 ]
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss