new custom plugins

This commit is contained in:
2021-01-08 16:28:24 -05:00
parent b800a5d24b
commit 16b7dc5fd1
6 changed files with 52 additions and 1 deletions

10
scripts/frand.py Normal file
View File

@@ -0,0 +1,10 @@
import os, os.path
import sys
from random import randint
dirn = sys.argv[1]
dirlist = os.listdir(dirn)
numitems = len(dirlist)
i = randint(0,numitems-1)
print(dirlist[i])