Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Chameleon / src / chameleon / tests / inputs / 087-code-blocks.pt
Size: Mime:
<?python
    foo = [1, 2, 3] ?>

<ul>
  <li tal:repeat="f foo" tal:content="f" />
</ul>

<?python
    foo = [1, 2, 3]
    boo = [4, 5, 6]
?>

<ul>
  <li tal:repeat="(f, g) zip(foo, boo)" tal:content="f + g" />
</ul>

<div>
  <?python numbers = map(str, range(1, 10)) ?>
  Please input a number from the range ${", ".join(numbers)}.
</div>

<div>
  <?python
     def function(i):
         return i + 1
     ?>
  41 + 1 = ${function(41)}.
</div>