In <[email protected]> Igor Korot 
<[email protected]> 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
[email protected]    watch 'House', or a real serial killer to watch 'Dexter'.

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

Reply via email to