I understand that sys.path refers to
sys.path
/lib
Wi
Use
sys.path.append('path/to/file')
instead of
sys.path.append('path/to/file/')
Same with sys.path.remove().
sys.path.remove()