Added is python directory method