V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
jacklong
V2EX  ›  Python

import platform

  •  
  •   jacklong ·
    jack-long · 2015-02-26 11:57:04 +08:00 · 2700 次点击
    这是一个创建于 3354 天前的主题,其中的信息可能已经有所发展或是发生改变。

    import platform
    platform.mac_ver()
    ('10.5.8', ('', '', ''), 'i386')
    platform.version()
    'Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386'
    platform.platform()
    'Darwin-9.8.0-i386-32bit'
    platform.system()
    'Darwin'

    3 条回复    2015-02-27 00:19:39 +08:00
    invite
        1
    invite  
       2015-02-26 13:37:08 +08:00
    机器人?
    jacklong
        2
    jacklong  
    OP
       2015-02-26 20:26:49 +08:00
    @invite This is not a right question. Please try again.
    zhjits
        3
    zhjits  
       2015-02-27 00:19:39 +08:00
    exit()
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2249 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 02:44 · PVG 10:44 · LAX 19:44 · JFK 22:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.