#!/usr/bin/env python2 import os print os.path.dirname(os.path.abspath(__file__))