Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2.  
  3. from astropy.table import Table, Column
  4. import numpy as np
  5.  
  6. file_name = input("Type file name: ")
  7.  
  8. file = open(file_name, "r")
  9.  
  10. #print(file.read())
  11.  
  12. t = Table()
  13.  
  14. for line in file:
  15. splitted_line = line.split(",", ";", " ")
  16. print(splitted_line)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement