mirror of https://github.com/flaggo/pydu.git
52 lines
913 B
ReStructuredText
52 lines
913 B
ReStructuredText
|
Platform
|
||
|
--------
|
||
|
|
||
|
.. py:data:: pydu.platform.WINDOWS
|
||
|
|
||
|
Judge whether current platform is WINDOWS or not.
|
||
|
|
||
|
|
||
|
.. py:data:: pydu.platform.LINUX
|
||
|
|
||
|
Judge whether current platform is LINUX or not.
|
||
|
|
||
|
|
||
|
.. py:data:: pydu.platform.POSIX
|
||
|
|
||
|
Judge whether current platform is POSIX or not.
|
||
|
|
||
|
|
||
|
.. py:data:: pydu.platform.DARWIN
|
||
|
|
||
|
Judge whether current platform is DARWIN or not.
|
||
|
|
||
|
|
||
|
.. py:data:: pydu.platform.SUNOS
|
||
|
|
||
|
Judge whether current platform is SUNOS or not.
|
||
|
|
||
|
|
||
|
.. py:data:: pydu.platform.SMARTOS
|
||
|
|
||
|
Judge whether current platform is SMARTOS or not.
|
||
|
|
||
|
|
||
|
.. py:data:: pydu.platform.FREEBSD
|
||
|
|
||
|
Judge whether current platform is FREEBSD or not.
|
||
|
|
||
|
|
||
|
.. py:data:: pydu.platform.NETBSD
|
||
|
|
||
|
Judge whether current platform is NETBSD or not.
|
||
|
|
||
|
|
||
|
.. py:data:: pydu.platform.OPENBSD
|
||
|
|
||
|
Judge whether current platform is OPENBSD or not.
|
||
|
|
||
|
|
||
|
.. py:data:: pydu.platform.AIX
|
||
|
|
||
|
Judge whether current platform is AIX or not.
|