Advertisement
kopevgale

Untitled

Sep 5th, 2016
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. F = open('C:\Users\Tesha\Documents\cat2.txt')
  2. line = F.readline()
  3. print line # смотрю выдает ли первую строку
  4. line = F.readline()
  5. print line # смотрю выдает ли вторую строку
  6.  
  7.  
  8. def Elevator(name, text):
  9. name = open(w"C:\Users\Tesha\Documents\/" ,line ".txt") # присваиваю строку имени новому файлу.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement