摘要:
1 import os 2 import shutil 3 4 path = r'D:\\' #当前路径 5 newpath=r'D:\\BackUp\\MUSIC'#新文件夹路径 6 filenames = os.listdir(path)#获取当前路径下的所有文件或文件夹列表 7 os.rena 阅读全文
posted @ 2021-02-08 22:28
凝视深空
阅读(65)
评论(0)
推荐(0)
摘要:
原题 1 # Definition for a binary tree node. 2 # class TreeNode: 3 # def __init__(self, x): 4 # self.val = x 5 # self.left = None 6 # self.right = None 7 阅读全文
posted @ 2021-02-08 19:03
凝视深空
阅读(92)
评论(0)
推荐(0)
摘要:
原题 1 class Solution: 2 def lowestCommonAncestor(self, root: 'TreeNode', p: 'TreeNode', q: 'TreeNode') -> 'TreeNode': 3 if p.val < root.val and q.val < 阅读全文
posted @ 2021-02-08 13:32
凝视深空
阅读(58)
评论(0)
推荐(0)

浙公网安备 33010602011771号