On Dec 16, 4:17 pm, wmiller <[email protected]> wrote:
> <%
> def fib(n):
> a, b = 0, 1
> while b < n:
> print(str(b) + ", ")
> a, b = b, a+b
> return b-a
>
> var = fib(100)
> %>
> <br><br>
> {var}
Suggestion,
def fib(n):
a, b = 0, 1
while b < n:
print(str(b) + ", ")
a, b = b, a+b
return b-a
var = fib(100)
"""%
<br><br>
{var}
%"""
Would make it python compatible, wsgi compatible, unit test
compatible, import compatible, eval compatible, cgi compaitible, and
many other compatible python things :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---