#!/usr/bin/env python
from os.path import dirname,join,relpath

print __file__
print dirname(__file__)
print join(dirname(dirname(__file__)),"subdir")
print relpath(__file__,"../")
5bd9d4258c5b1c1e8f8ce4446dc658fb6d99b972
#!/usr/bin/env python
from os.path import dirname,join,relpath

print __file__
print dirname(__file__)
print join(dirname(dirname(__file__)),"subdir")
print relpath(__file__,"../")