tests/Python/list2data.py
2024-12-10 20:40:17 +01:00

9 lines
193 B
Python
Executable File

#!/bin/python3
# NOTE: i write this to make interacting with GNU Plot less painful
from sys import argv
l = eval(argv[1])
with open('data.txt', 'w') as f:
for i in l: f.write(str(i) + '\n')