en
Книги
Victor R.Volkman

Learn Python in One Hour

  • Pmцитирапреди 4 години
    If you prefer old-school backslashes (e.g. "c:\temp"), you’ll have to double them up
  • marilyukцитирапреди 4 години
    # 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(
  • marilyukцитирапреди 4 години
    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
fb2epub
Плъзнете и пуснете файловете си (не повече от 5 наведнъж)