Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
de:modul:m319:learningunits:lu10:module [2025/06/23 07:45] – ↷ Seite von modul:m319:learningunits:lu10:module nach de:modul:m319:learningunits:lu10:module verschoben msuterde:modul:m319:learningunits:lu10:module [2025/12/04 15:31] (aktuell) msuter
Zeile 15: Zeile 15:
 <WRAP center round box 60%> <WRAP center round box 60%>
 <file python mod.py> <file python mod.py>
 +""" example of a module with various stuff """
 s = "If Comrade Napoleon says it, it must be right." s = "If Comrade Napoleon says it, it must be right."
 a = [100, 200, 300] a = [100, 200, 300]
Zeile 37: Zeile 38:
 <WRAP center round box 60%> <WRAP center round box 60%>
 <code python> <code python>
 +""" example for using a module """
 import mod import mod
  
Zeile 153: Zeile 155:
 Um im lokalen Kontext zugänglich zu sein, muss den Namen der im Modul definierten Objekte das Kürzel ''mod'' vorangestellt werden: Um im lokalen Kontext zugänglich zu sein, muss den Namen der im Modul definierten Objekte das Kürzel ''mod'' vorangestellt werden:
 <code python> <code python>
 +""" example for using the module "mod" """
 import mod import mod
  
  • de/modul/m319/learningunits/lu10/module.1750657505.txt.gz
  • Zuletzt geändert: 2025/06/23 07:45
  • von msuter