12 2023 档案
摘要:$env:http_proxy="http://127.0.0.1:1080"$env:https_proxy="http://127.0.0.1:1080"
阅读全文
摘要:通过修改GDB的配置来改变显示的汇编代码的格式 在用户目录(C:\Users\你的用户名)下创建一个.gdbinit文件,然后在该文件中添加以下内容: set disassembly-flavor intel 这行命令会将GDB的汇编指令格式设置为Intel格式 如果你在调试过程中使用的是LLDB,
阅读全文
摘要:import asyncioimport timeasync def a(): start_time = time.time() print("函数a开始执行") tasks = [asyncio.create_task(b())] # 创建一个任务列表,包含函数b的任务 print("函数a执行其
阅读全文
摘要:目录C:\Users\腾洁.cargo下创建config文件 然后写入 [source.crates-io] replace-with = 'tuna' [source.tuna] registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates
阅读全文
摘要:今天使用python的csv,将本地表格文件转换成dataframe,然后各种编码报错,是因为源文件格式保留了太多杂七杂八的功能标记,不是纯正的csv,只需要最原始的配方,才能转换出最纯正的dataframe,原始的csv使用这段代码完美打开 import csvdef remove_nul_cha
阅读全文
摘要:主程序 # 创建一个队列对象q = queue.Queue()qq = queue.Queue()thread1 = Tkui(q,qq)# thread2 = MyThread("Thread 2")# 启动线程thread1.start()while True: # 从队列中获取数据 data
阅读全文
摘要:sap的登录操作可复用代码 class Chongxiao: def __init__(self, username, password): self.username = username self.password = password def PR3_Login(self,username,
阅读全文