home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / spyce / *.* / stdout.spy < prev    next >
Encoding:
Text File  |  2004-05-18  |  324 b   |  12 lines

  1. <html><body>
  2.   [[ print '''Using the stdout module redirects 
  3.     stdout to the response object, so you can use
  4.     <b>print</b>!''']]<br>
  5.   redirecting stdout can be used to...
  6.   [[stdout.push()]]
  7.   [[print 'capture']] out[[='put']]
  8.   [[cached = stdout.pop()]]
  9.   ... for later: <br>
  10.   [[=cached]]
  11. </body></html>
  12.