arizvisa dice
here's a fun python stupidity. the
i.e.
#python #side-effects #stupidities #path #python2 #python3 #os.path #normpath
os.path.normcase
function does not fully remove all double-slashes if the first 2 characters in your path are a slash.i.e.
os.path.normcase('//heh/yep') == '//heh/yep'
#python #side-effects #stupidities #path #python2 #python3 #os.path #normpath