From 98e71dda5c6966c7189f7f6bf4d33780d4f2dff1 Mon Sep 17 00:00:00 2001 From: mer0m Date: Thu, 16 Feb 2017 16:25:57 +0100 Subject: [PATCH] use sys.argv --- RingDown.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RingDown.py b/RingDown.py index f2a2179..1536196 100644 --- a/RingDown.py +++ b/RingDown.py @@ -1,9 +1,9 @@ import matplotlib.pyplot as plt import numpy as np -import csv, glob +import csv, glob, sys from scipy.optimize import curve_fit -list_files = (glob.glob('WA*1.CSV')) +list_files = (glob.glob(sys.argv[1])) data = [] -- 2.16.4