add utils modul

This commit is contained in:
Andreas Stephanides
2017-08-29 00:19:30 +02:00
parent 3263bec344
commit 434bfbff18
2 changed files with 9 additions and 5 deletions

5
utils.py Normal file
View File

@@ -0,0 +1,5 @@
def pjoin (rt,pth):
return u'{}/{}'.format(rt,pth)
def pjoin2 (pth):
return u'/'.join(pth) or u''