Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung |
user:hof:pyeditor [2025-06-06 08:25] – [Bottom.ch with direct component] hof | user:hof:pyeditor [2025-08-22 07:13] (aktuell) – [WebtigerPython iframe] hof |
---|
# Inline Python Editors | # Inline Python Editors |
| |
## Bottom.ch with direct component | ## Bottom.ch with direct component |
This is the preferred version as of 2025. | This is the preferred version as of 2025. |
print(f'Romanshorn hat {tokens[2]} Einwohner') | print(f'Romanshorn hat {tokens[2]} Einwohner') |
</bottom-editor></html> | </bottom-editor></html> |
| ## WebtigerPython iframe |
| |
| * [[https://docs.webtigerpython.ethz.ch/iframe.html#|Dokumentation iframe]] |
| * [[https://docs.webtigerpython.ethz.ch/url-arguments.html|Dokumentation URL-Parameter]] |
| |
| <code html> |
| <html><iframe src="https://webtigerpython.ethz.ch/?layout=%5B%7B%22type%22%3A%20%22Editor%22%7D%2C%7B%22type%22%3A%20%5B%22Canvas%22%2C%22Console%22%5D%7D%5D&lang=de&full_screen=false&dark_mode=false&device=-&code=NobwRAdghgtgpmAXGGUCWEB0AHAnmAGjABMoAXKJMAMwCcB7GAAjIFdayAbOJtGbehyYAqADoRxdNGQBeTALxMAKuy5wAFAEpJtaTMzVBAdyi1i6gKwAGbRCmzM3amXUBOGzr0Hjp89dv2%2Bk4u7gG6Doa0JmaWHnbhQXDObnGB3lG%2BsWFewSm2YAC%2BALpAA%3D" allow="usb;clipboard-write" style="border: 1px solid lightgray; height: 500px; width: 100%"> |
| </iframe> |
| </html></code> |
| |
| <html><iframe src="https://webtigerpython.ethz.ch/?layout=%5B%7B%22type%22%3A%20%22Editor%22%7D%2C%7B%22type%22%3A%20%5B%22Canvas%22%2C%22Console%22%5D%7D%5D&lang=de&full_screen=false&dark_mode=false&device=-&code=NobwRAdghgtgpmAXGGUCWEB0AHAnmAGjABMoAXKJMAMwCcB7GAAjIFdayAbOJtGbehyYAqADoRxdNGQBeTALxMAKuy5wAFAEpJtaTMzVBAdyi1i6gKwAGbRCmzM3amXUBOGzr0Hjp89dv2%2Bk4u7gG6Doa0JmaWHnbhQXDObnGB3lG%2BsWFewSm2YAC%2BALpAA%3D" allow="usb;clipboard-write" style="height: 500px; width: 100%; border: 1px solid lightgray;"> |
| </iframe> |
| </html> |
| |
## Bottom.ch with iframe | ## Bottom.ch with iframe |