- 博客(17)
- 收藏
- 关注
原创 python 查询并杀死Windows进程
python 进程操作psutilpsutil可以获取系统运行状态,包括系统进程、CPU、内存、磁盘等信息,可以用于监控系统状态,且支持Linux/macOS/Windows平台。安装psutilpip install psutil进程查询psutil.pids() #获取当前系统上的进程idpsutil.Process(pid) #基于进程id查询单个进程信息(进程id,进程名,进程状态)进程id ### 示列>>> print(psutil.pids())[
2022-02-13 21:59:09
2145
1
原创 [Leetcode 153 && 154] Find Minimum in Rotated Sorted Array (II)
[Leetcode 153 && 154] Find Minimum in Rotated Sorted Array (II) 解题报告
2017-07-10 15:50:21
540
原创 [Leetcode 123] Best Time to Buy and Sell Stock III
[Leetcode 123] Best Time to Buy and Sell Stock III 解题报告
2017-07-10 10:49:25
311
原创 [Letecode 84] Largest Rectangle in Histogram
[Letecode 84] Largest Rectangle in Histogram 解题报告
2017-07-09 16:51:22
290
原创 [Leetcode 128] Longest Consecutive Sequence
[Leetcode 128] Longest Consecutive Sequence 解题报告
2017-07-06 17:00:25
213
原创 [Leetcode 41] First Missing Positive
[Leetcode 41] First Missing Positive 解题报告
2017-07-05 21:56:14
204
原创 [Leetcode 4] Median of Two Sorted Arrays
[Leetcode 4] Median of Two Sorted Arrays 解题报告
2017-07-05 20:48:58
335
原创 [LeetCode 611] Valid Triangle Number
[LeetCode 611] Valid Triangle Number
2017-06-21 21:56:06
625
原创 [LeetCode 78] Subsets && [LeetCode 90] Subsets II
[LeetCode 78] Subsets && [LeetCode 90] Subsets II 解题报告
2017-06-10 11:59:12
274
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人