登录社区云,与社区用户共同成长
邀请您加入社区
#python# 删除全部用户自定义变量import refor x in dir():if not re.match('^__',x) and x!="re":exec(" ".join(("del",x)))
#python # 删除全部用户自定义变量 import re for x in dir(): if not re.match('^__',x) and x!="re": exec(" ".join(("del",x)))
CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!
更多推荐
用 OpenAI Assistants 做大模型应用开发
1 小时解读鸿蒙 10 大热点问题
扫一扫分享内容
所有评论(0)