from rlike import *
getwd()'/home/runner/work/rlike/rlike/docs'
x = tempdir()
x'/tmp/tmppwufbbns'
x = tempfile(pattern = 'hello', fileext = '.txt')
x'/tmp/tmphvdhpyvg/hellojof18yus.txt'
dirname(x)'/tmp/tmphvdhpyvg'
basename(x)'hellojof18yus.txt'