CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 09 Aug 2025 08:06:33 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20070810075355
location: https://web.archive.org/web/20070810075355/https://wiki.python.org/moin/ElementBasedSyntax
server-timing: captures_list;dur=0.591761, exclusion.robots;dur=0.027146, exclusion.robots.policy;dur=0.015505, esindex;dur=0.010841, cdx.remote;dur=23.417010, LoadShardBlock;dur=310.828748, PetaboxLoader3.datanode;dur=121.960012, PetaboxLoader3.resolve;dur=158.096611
x-app-server: wwwb-app200
x-ts: 302
x-tr: 358
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app200; 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: Sat, 09 Aug 2025 08:06:34 GMT
content-type: text/html;charset=utf-8
x-archive-orig-date: Fri, 10 Aug 2007 07:53:55 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: Fri, 10 Aug 2007 07:53:55 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 10 Dec 2005 09:11:45 GMT", ; rel="prev memento"; datetime="Sun, 05 Aug 2007 08:03:57 GMT", ; rel="memento"; datetime="Fri, 10 Aug 2007 07:53:55 GMT", ; rel="next memento"; datetime="Sat, 08 Dec 2007 09:44:28 GMT", ; rel="last memento"; datetime="Thu, 07 Jul 2022 11:54:06 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: 44_0_20070810042430_crawl106-c/44_0_20070810075008_crawl107.arc.gz
server-timing: captures_list;dur=0.482172, exclusion.robots;dur=0.022986, exclusion.robots.policy;dur=0.013580, esindex;dur=0.009744, cdx.remote;dur=28.532896, LoadShardBlock;dur=420.859385, PetaboxLoader3.datanode;dur=207.172185, load_resource;dur=260.079945, PetaboxLoader3.resolve;dur=169.620063
x-app-server: wwwb-app200
x-ts: 200
x-tr: 748
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
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
ElementBasedSyntax - PythonInfo Wiki
ElementBasedSyntax
Element-based syntax typically uses XML-like elements to either annotate parts of a Web page (see StructureAnnotation) or to introduce program code into the document (see PythonInWebPage). For example:
<table> <python-block> for item in items: </python-block> <tr> <th>Name</th> <td><python-expr>item.name</python-expr></td> </tr> <python-block> # End of for loop. </python-block> </table>
One stated advantage of element-based syntax is that the document can be manipulated more easily with XML tools. Arguably, the use of PythonInWebPage techniques can complicate matters because the content of the program code elements requires additional parsing and analysis.
EditText (last edited 2005-10-11 12:21:15 by AndrewKuchling)
DeleteCache (cached 2007-08-07 08:40:26)- Login
- Navigation
- Actions
- Your recent pages