| templateInterface. Python ÀÀ¿ë ÇÁ·Î±×·¥À»À§ÇÑ °øÅë ÅÛÇø´ ÀÎÅÍÆäÀ̽º |
Áö±Ý ´Ù¿î·Îµå |
templateInterface. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- MIT/X Consortium Lic...
- °Ô½ÃÀÚ À̸§:
- Alice Bevan-McGregor
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://www.python-turbomail.org/
templateInterface. ű×
templateInterface. ¼³¸í
ÆÄÀ̽ã ÀÀ¿ë ÇÁ·Î±×·¥À»À§ÇÑ °øÅë ÅÛÇø´ ÀÎÅÍÆäÀ̽º templateInterface´Â ÆÄÀ̽ã, ƯÈ÷ À¥ ÀÀ¿ë ÇÁ·Î±×·¥À»À§ÇÑ °øÅë ÅÛÇø´ ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù. >>>¿¡¼ cti.core °¡Á® ¿À±â ¿£Áø >>> ·»´õ¸µ = Engines () >>> render.json ( "Hello World!") ( 'ÀÀ¿ë ÇÁ·Î±×·¥ / JSON ','Hello World! '') >>> render.yaml (dict (name = "world", statement = "hello!", test = ') >>> render.sprintf (dict (name = "¼¼°è"), string = "hello % (name) s!") ('text / plain ','hello world! ') ÇÁ·¹ÀÓ ¿öÅ© »ç¿ë : >>>¿¡¼ cti.core °¡Á® ¿À±â ¿£Áø >>> ·»´õ¸µ = ¿£Áø ( 'genshi') >>> content_type, content = render ( 'myApp.templates.foo') >>> content_type, content = render ( 'myApp / templates / foo.html) ') >>> content_type, content = ·»´õ¸µ ('./ ÅÛÇø´ / foo.html ') ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽ã
templateInterface. °ü·Ã ¼ÒÇÁÆ®¿þ¾î