Welcome To Snipplr
Everyone's Recent Python Snippets Tagged path
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« 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
1021
posted 12 years ago by jarnaldich
« Prev 1 Next »