#! /usr/bin/env python
import os
txt = "in " if os.getcwd() in os.getenv(\'PATH\').split(":") else "not in"
print "Current path \'%s\'\\nis %s list of \'PATH\' environment variable below\\n%s" % (
os.getcwd(),
txt,
"\\n".join(os.getenv(\'PATH\').split(":"))
)