openmedialibrary_platform_w.../Lib/site-packages/win32comext/axscript/asputil.py
2016-04-14 21:54:42 +02:00

12 lines
239 B
Python

"""A utility module for ASP (Active Server Pages on MS Internet Info Server.
Contains:
iif -- A utility function to avoid using "if" statements in ASP <% tags
"""
def iif(cond, t, f):
if cond:
return t
else:
return f