Added 'Python/list2data.py'

This commit is contained in:
anon 2024-12-10 20:39:02 +01:00
parent 8d0580ffc3
commit eb0e452db6

8
Python/list2data.py Executable file

@ -0,0 +1,8 @@
#!/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')