In <mailman.14733.1412914913.18130.python-l...@python.org> Igor Korot 
<ikoro...@gmail.com> writes:

> sys.path.append('~/MyLib')

> I.e., will '~' sign be expanded correctly?

Not as written.

Use os.path.expanduser() to get user's home directories.

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
gor...@panix.com    watch 'House', or a real serial killer to watch 'Dexter'.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to