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 1676 posted 14 years ago by jarnaldich
save as a file and run....
0 1227 posted 14 years ago by magicrebirth
0 1394 posted 15 years ago by iloveitaly
0 747 posted 15 years ago by xupisco
0 1019 posted 18 years ago by whitetiger
0 983 posted 18 years ago by whitetiger
0 977 posted 18 years ago by whitetiger
« Prev 1 Next »