refactor PATH handling
add Tab: complete for python