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
raiz
V2EX  ›  Python

python 怎么判断插入的 U 盘的唯一性, 两次插入 U 盘是同一个?

  •  
  •   raiz · 2015-11-07 10:50:23 +08:00 · 3376 次点击
    这是一个创建于 3064 天前的主题,其中的信息可能已经有所发展或是发生改变。
    6 条回复    2015-11-07 17:35:21 +08:00
    RickyBoy
        1
    RickyBoy  
       2015-11-07 11:11:15 +08:00 via iPhone
    获取 UUID
    ChiChou
        2
    ChiChou  
       2015-11-07 11:14:26 +08:00   ❤️ 1
    582033
        3
    582033  
       2015-11-07 11:53:13 +08:00 via Android
    uuid
    raiz
        4
    raiz  
    OP
       2015-11-07 13:19:32 +08:00
    @ChiChou pyUsb! thanks.
    2015813
        5
    2015813  
       2015-11-07 14:32:37 +08:00
    凭经验判断 @
    402124773
        6
    402124773  
       2015-11-07 17:35:21 +08:00
    shell 命令
    sudo blkid 返回 uuid 值
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1743 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 16:38 · PVG 00:38 · LAX 09:38 · JFK 12:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.