"Lie Ryan" <[email protected]> wrote
with open(...) as fobj:
entry = ''
while entry != '.'
fobj.write(raw_input())
But how does entry change in this example?
I think you need
with open(...) as fobj:
entry = ''
while entry != '.'
fobj.write(entry)
entry = raw_input()
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor