add doc for py.system

This commit is contained in:
Prodesire 2018-03-25 23:22:05 +08:00
parent 429f525aed
commit aad10fc3dc
1 changed files with 5 additions and 0 deletions

View File

@ -193,3 +193,8 @@ Utils for handling system, like to track file, make directory, link and so on.
>>>
.. note:: ``chcp`` can only be used on ``Windows`` system.
.. py:function:: pydu.system.preferredencoding(code)
Get best encoding for the system.