30.03.20 15:50, jope...@hotmail.fr пише:
As a result,
`import os.path as p`
stores os.path, not os, in p. This makes it effectively the same as
`from os import path as p`

No, it is not the same.

For example, `from os import mkdir as mkd` works, but `import os.mkdir as mkd` is an error.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/SAEYXOHZGHYG7I34TOO22FK5X4HTXDYD/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to