Advertisement
Guest User

Untitled

a guest
May 27th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. class Ford:
  2.     def _init_(self, dict):
  3.         txt=open(dict, 'r')
  4.         txt2=open('output.txt', 'w')
  5.         f=txt.readLines()
  6.         for number in f:
  7.             s=number.split(',')
  8.             txt2.write(s[0])
  9.             txt2.write(' ')
  10.             txt2.write(s[egy])
  11.         txt2.close()
  12.         txt.close()
  13.  
  14. ize=Ford('some text.txt')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement