| Python 2.2 für Einsteiger | ||
|---|---|---|
| <<< Previous | Einführung anhand von Beispielen | Next >>> |
#!/usr/bin/python2.2
import continuation
def c0():
i = 0
continuation.return_current(1)
while 1:
i = i + 1
return i
c = c0()
for i in range(7):
print c()def PrintMyName():
print "My Name"
def PrintMyAge():
print "Your age"
def _PrintMe():
print "This can't be used"
PrintMyName()
PrintMyAge()
#This will result in error
_PrintMe()
| <<< Previous | Home | Next >>> |
| Pickle Load/Restore | Up | Summe von Werten |