Welcome To Snipplr


Everyone's Recent Python Snippets Tagged path



« Prev 1 Next »
Sometimes (ex. django templates section at setting.py), a function expects an absolute path, but it's more practical when developing to refer it to the current file position in our code base. The rel function does exactly that.
0 53 posted 8 years ago by jarnaldich
save as a file and run....
0 19 posted 9 years ago by magicrebirth
0 32 posted 9 years ago by iloveitaly
0 8 posted 10 years ago by xupisco
0 17 posted 13 years ago by whitetiger
0 12 posted 13 years ago by whitetiger
0 16 posted 13 years ago by whitetiger
« Prev 1 Next »