mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
12 lines
273 B
Python
12 lines
273 B
Python
|
#!/usr/bin/python3
|
||
|
|
||
|
import sys
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
arg = int(sys.argv[1])
|
||
|
|
||
|
for line in sys.stdin:
|
||
|
updated_line = line.replace("\n", "")
|
||
|
print(updated_line + "\t" + "Key " + str(arg) + " " + updated_line, end="\n")
|
||
|
sys.stdout.flush()
|