02 2019 档案
摘要:js 创建键值对 var map = new Map() 添加, 修改也是这个, map.set('s', 123333) 删除 map.delete('s') 获取 map.get('s') 是否存在 map.has('s') 转成array , var arr = Array.from(map)
阅读全文
摘要:1.使用pip安装pyinstaller,(一次安装) pip install pyinstaller 2.打包 pyinstaller -F myfile.py 我的测试: 我的程序目录 pythons\ code1\ myfile.py pythonbin\ scripts\ pip.exe p
阅读全文
摘要:自:https://www.cnblogs.com/hont/p/5002913.html 闲来无事时积累的一些Linq函数,有时间就更新。 需要注意python版本如果低于3.0不支持lambda,只能单独写函数传参,比较麻烦 1.FirstOrDefault: 返回1 2.Where: 返回筛选
阅读全文
摘要:自:https://www.cnblogs.com/xisheng/p/7301245.html lambda函数的语法只包含一个语句,如下: lambda arg1,arg2,.....argn:expression(主要是看下面的例子)代码示例: # 大家注意观察上面的Python示例代码,f
阅读全文
摘要:转自:https://blog.csdn.net/qq_32786873/article/details/70173265 https://blog.csdn.net/weixin_41972401/article/details/79885749 说明 这个页面列出了一些常用的命令行启动参数以及对
阅读全文
浙公网安备 33010602011771号