Python Get Dir Name Tracing