|
eoghan
modpython at redry.net
Wed May 25 07:27:54 EDT 2005
Hi
Im new to python. Im playing with the psp module. I have noticed that
whitespace is maintained in the output,. Is there anyway to strip
this from the generated content? Also, how can i tab my output? Using
the example:
<html>
<%
import time
%>
Hello world, the time is: <%=time.strftime("%Y-%m-%d, %H:%M:%S")%>
</html>
this produces:
<html>
Hello world, the time is: 2005-05-25, 12:26:25
</html>
What id like is:
<html>
Hello world, the time is: 2005-05-25, 12:26:25
</html>
Thanks
Eoghan
|