CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 24 Jul 2025 16:38:17 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20071208110251
location: https://web.archive.org/web/20071208110251/https://wiki.python.org/moin/CommentBasedSyntax
server-timing: captures_list;dur=0.713011, exclusion.robots;dur=0.030337, exclusion.robots.policy;dur=0.015248, esindex;dur=0.014620, cdx.remote;dur=35.395484, LoadShardBlock;dur=395.824298, PetaboxLoader3.datanode;dur=156.014724, PetaboxLoader3.resolve;dur=186.188433
x-app-server: wwwb-app221
x-ts: 302
x-tr: 462
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app221; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 24 Jul 2025 16:38:17 GMT
content-type: text/html;charset=utf-8
x-archive-orig-date: Sat, 08 Dec 2007 11:02:51 GMT
x-archive-orig-server: Apache/2.0.54 (Debian GNU/Linux) mod_fastcgi/2.4.2
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 08 Dec 2007 11:02:51 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 15 May 2006 10:55:51 GMT", ; rel="prev memento"; datetime="Wed, 08 Aug 2007 08:03:07 GMT", ; rel="memento"; datetime="Sat, 08 Dec 2007 11:02:51 GMT", ; rel="next memento"; datetime="Fri, 12 Aug 2011 01:48:58 GMT", ; rel="last memento"; datetime="Fri, 08 Jul 2022 02:38:24 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_1_20071208104348_crawl102-c/52_1_20071208105923_crawl107.arc.gz
server-timing: captures_list;dur=0.480711, exclusion.robots;dur=0.017742, exclusion.robots.policy;dur=0.008604, esindex;dur=0.009768, cdx.remote;dur=45.554113, LoadShardBlock;dur=404.986650, PetaboxLoader3.datanode;dur=250.462376, PetaboxLoader3.resolve;dur=290.222928, load_resource;dur=173.169989
x-app-server: wwwb-app221
x-ts: 200
x-tr: 665
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
CommentBasedSyntax - PythonInfo Wiki
CommentBasedSyntax
Comment-based syntax typically uses XML-like comments or special preprocessed comment-like elements to either annotate parts of a Web page (see StructureAnnotation) or to introduce program code into the document (see PythonInWebPage).
See PythonInWebPage for an example using JSP-like syntax. Here is a StructureAnnotation version using HTML-like syntax:
<table> <!-- loop:item in items --> <tr> <th>Name</th> <td><!-- expr:item.name --></td> </tr> <!-- loop:end --> </table>
One potential advantage of comment-based syntax is that HTML-aware tools can ignore the comments, should the syntax have been chosen correctly.
EditText (last edited 2002-08-12 12:59:39 by 217)
DeleteCache (cached 2007-12-05 00:57:00)- Login
- Navigation
- Actions
- Your recent pages