Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def main():
- f = open("new_array.js", "rb")
- data = f.read()
- f.close()
- split_data = data.split(",")
- #print split_data
- f = open("new_array1.js", "wb")
- for item in split_data:
- f.write(item)
- f.write("\n")
- print "\nFinished!"
- f.close()
- if __name__ == "__main__":
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement