摘要: lambda函数的语法只包含一个语句,如下: lambda arg1,arg2,.....argn:expression(主要是看下面的例子)代码示例: #-*- coding:utf-8 -*- #__author__ = "www.iplaypy.com" # 普通python函数 def fu 阅读全文
posted @ 2019-12-19 15:19 努力乄小白 阅读(2260) 评论(0) 推荐(0) 编辑
摘要: 写的不好不要喷!谢谢 import os def mkdir(create): create=create.strip() isExists=os.path.exists(create) if not isExists: os.mkdir(create) return True else: prin 阅读全文
posted @ 2019-12-19 13:19 努力乄小白 阅读(354) 评论(0) 推荐(0) 编辑