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 1041 posted 12 years ago by jarnaldich
save as a file and run....
0 757 posted 13 years ago by magicrebirth
0 901 posted 13 years ago by iloveitaly
0 397 posted 14 years ago by xupisco
0 619 posted 17 years ago by whitetiger
0 583 posted 17 years ago by whitetiger
0 600 posted 17 years ago by whitetiger
« Prev 1 Next »