Python 的模板和视图控制框架 Myghty

码农软件 · 软件分类 · 模板引擎 · 2019-08-22 20:14:40

软件介绍

Myghty 是一个 Python 的模板和视图控制框架,集成自 HTML::Mason。支持 Mason 的完整功能,允许基于组件的 Web 开发,使用嵌入式的 Python HTML。包含很多 Mason 没有的新概念和新特性。

示例模板:

% for mood in ['happy', 'happy', 'sad', 'sad', 'happy']:
%   if mood == 'happy':

  <img src="happyface.gif"/> Hey There !

%   else:

  <img src="sadface.gif"/> Buzz Off !

% #if statement
% #for loop

该项目已经废弃,请使用 Mako 替代。

本文地址:https://codercto.com/soft/d/12949.html

Data Structures and Algorithms in Python

Data Structures and Algorithms in Python

Michael T. Goodrich、Roberto Tamassia、Michael H. Goldwasser / John Wiley & Sons / 2013-7-5 / GBP 121.23

Based on the authors' market leading data structures books in Java and C++, this book offers a comprehensive, definitive introduction to data structures in Python by authoritative authors. Data Struct......一起来看看 《Data Structures and Algorithms in Python》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

URL 编码/解码
URL 编码/解码

URL 编码/解码