sys_example.py 332 B

123456789101112131415161718
  1. #
  2. # Copyright (c) 2006-2019, RT-Thread Development Team
  3. #
  4. # SPDX-License-Identifier: MIT License
  5. #
  6. # Change Logs:
  7. # Date Author Notes
  8. # 2019-06-13 SummerGift first version
  9. #
  10. import sys
  11. print(sys.version)
  12. print(sys.version_info)
  13. print(sys.path)
  14. print(sys.__name__)
  15. print(sys.platform)
  16. print(sys.byteorder)