Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung | |||
user:hof:pyeditor [2025-06-06 08:24] – [Bottom.ch with direct component] hof | user:hof:pyeditor [2025-06-06 08:25] (aktuell) – [Bottom.ch with direct component] hof | ||
---|---|---|---|
Zeile 9: | Zeile 9: | ||
<!-- Include a custom component in HTML. Use height, min-height, max-height to control the size. --> | <!-- Include a custom component in HTML. Use height, min-height, max-height to control the size. --> | ||
<!-- Leading empty lines will be dropped. --> | <!-- Leading empty lines will be dropped. --> | ||
- | < | + | < |
print(42) | print(42) | ||
</ | </ | ||
Zeile 16: | Zeile 16: | ||
< | < | ||
- | < | + | < |
You can install files from an URL (with CORS headers if from a different domain!): | You can install files from an URL (with CORS headers if from a different domain!): | ||
<code html> | <code html> | ||
- | < | + | < |
with open(' | with open(' | ||
for line in infile: | for line in infile: | ||
Zeile 27: | Zeile 27: | ||
town = tokens[0] | town = tokens[0] | ||
if town == ' | if town == ' | ||
- | print(f' | + | print(f' |
</ | </ | ||
</ | </ | ||
- | < | + | < |
with open(' | with open(' | ||
for line in infile: | for line in infile: | ||
Zeile 37: | Zeile 37: | ||
town = tokens[0] | town = tokens[0] | ||
if town == ' | if town == ' | ||
- | print(f' | + | print(f' |
</ | </ | ||