#!/usr/bin/env python3
import os

lines = []
print("ready to recive data, please paste your data to import and press ENTER")
while True:
    line = input()
    if line:
        lines.append(line)
    else:
        break
text = lines
entries = len(text) #Count the entries (for the output in the for loop)
with open("temp.sql", "w") as out:
    for lines in text:
        out.write(lines + "\n")