上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 37 下一页
摘要: import platform os_platform = platform.platform() # Windows-10-10.0.18362-SP0 阅读全文
posted @ 2021-01-19 09:41 该显示昵称已被使用了 阅读(691) 评论(0) 推荐(0) 编辑
摘要: 以下写法都可以 file = r'C:\config.yaml' file = 'C:\config.yaml' file = 'C:\\config.yaml' file = r'C:\\config.yaml' file = r'C:/config_auto_ui.yaml' file = 'C 阅读全文
posted @ 2021-01-19 09:38 该显示昵称已被使用了 阅读(1913) 评论(0) 推荐(0) 编辑
摘要: 基本命令 root@8a5fa5a8f6b8:/usr/bin# /usr/bin/mongo show dbs; use db_sys; show tables; db.users.find(); # select * from users ; https://www.cnblogs.com/Ta 阅读全文
posted @ 2021-01-18 13:44 该显示昵称已被使用了 阅读(51) 评论(0) 推荐(0) 编辑
摘要: # 进入容器 sudo docker exec -it 8a5fa5a8f6b8 /bin/bash https://www.cnblogs.com/xhyan/p/6593075.html # 获取 docker pull ubuntu 阅读全文
posted @ 2021-01-18 13:13 该显示昵称已被使用了 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 1.进程 守护进程随着主进程的代码结束而结束,注意是代码,主进程可能在等待其他的子进程 from multiprocessing import Process def func(): while True: time.sleep(0.2) print('OK') if __name=='__main 阅读全文
posted @ 2021-01-17 16:35 该显示昵称已被使用了 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 使用smb 下载文件 import smbclient # pip install smbprotocol import zlib import re import os smbclient.register_session("10.x.x.x", username="123", password= 阅读全文
posted @ 2021-01-12 13:13 该显示昵称已被使用了 阅读(496) 评论(0) 推荐(0) 编辑
摘要: yield():释放当前cpu的执行权 join():在线程a中调用 线程b的 b.join(),此时线程a就进入阻塞状态,直到线程b完全执行完以后,线程a才结束阻塞状态。 daemon = True 主进程退出了,还能继续运行 without join: + + + main-thread | | 阅读全文
posted @ 2021-01-11 14:06 该显示昵称已被使用了 阅读(124) 评论(0) 推荐(0) 编辑
摘要: https://www.crx4chrome.com/ 阅读全文
posted @ 2021-01-10 17:57 该显示昵称已被使用了 阅读(62) 评论(0) 推荐(0) 编辑
摘要: from threading import Thread from threading import Event import time class ChildThread(Thread): myStopSignal = 0 def __init__(self, aStopSignal): Thre 阅读全文
posted @ 2021-01-08 17:16 该显示昵称已被使用了 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 原理和禁用方法 # 1.原理 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <style type="text/css"> /* 最简单的实现禁止复 阅读全文
posted @ 2020-12-31 09:55 该显示昵称已被使用了 阅读(225) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 37 下一页