Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 496 Bytes
import os.path
import string
l = ['_'] * 256
for c in string.digits + string.letters:
l[ord(c)] = c
_pathNameTransChars = string.join(l, '')
del l, c
def convertTmplPathToModuleName(tmplPath,
return translate(splitdrive(tmplPath)[1], _pathNameTransChars)
Jump to Line
Something went wrong with that request. Please try again.