b2097177997har delt en vurderingfor 10 måneder siden
👎Spring denne over
💩Meningsløs
Много воды
alexff9184427har delt en vurderingfor 7 år siden
👍Værd at læse
Еще бы отступы правильно отображались
Nikolahar delt en vurderingfor 2 år siden
👎Spring denne over
Citater
Pmhar citeretfor 4 år siden
If you prefer old-school backslashes (e.g. "c:\temp"), you’ll have to double them up
marilyukhar citeretfor 4 år siden
# Exercise 1: opening and using a file 2: 3:fh = open("c:/temp/input.txt", "r", encoding="ascii") 4:for line in fh: 5:print("read: %s" % line) 6:fh.close(
marilyukhar citeretfor 4 år siden
Ralph Almer, once said to me: “When you break it down, most computing boils down to: read a file, do some processing, and write out another file