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

进程提醒?

  •  
  •   explist · 2017-08-14 20:09:22 +08:00 · 1989 次点击
    这是一个创建于 2449 天前的主题,其中的信息可能已经有所发展或是发生改变。
    当操作系统中出现某进程时,予以弹窗提醒(也可有权限时直接杀死),这个代码怎么写呢?
    2 条回复    2017-08-14 21:59:32 +08:00
    misaka19000
        1
    misaka19000  
       2017-08-14 20:26:03 +08:00
    直接杀掉它的父进程
    ysc3839
        2
    ysc3839  
       2017-08-14 21:59:32 +08:00 via Android
    关键词 Python process exist
    弹窗 Python tkinter
    杀死 python process kill
    另外,懒得话可以直接调用操作系统自带的命令行工具来杀进程。*nix killall; Windows taskkill
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3147 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 13:57 · PVG 21:57 · LAX 06:57 · JFK 09:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.