Skip to content

Commit aa2100a

Browse files
committed
use common version list from a file
1 parent e95f317 commit aa2100a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

generate.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/bash
22

33
mkdir -p output
4-
for version in 2.7 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12
4+
for version in $(<versions.txt)
55
do
66
python$version dictresize.py raw > output/raw$version.txt
77
python$version dictresize.py full > output/full$version.txt

make_csv.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
import csv
44

55

6-
versions = ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
6+
with open('versions.txt') as v:
7+
versions = v.read().split()
78

89

910
def get_data(version):

versions.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.7 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12

0 commit comments

Comments
 (0)