码迷,mamicode.com
首页 >  
搜索关键字:ecif    ( 899个结果
python利用os和getopt实现删除指定文件
工作中经常遇到要删除某些目录下的特定文件 例如删除xxx目录下的所有test开头文件或者.pyc结尾的文件 如果手动删除的话,很麻烦,写个程序自动删除 只需要运行的时候输入路径和文件名即可,不输入文件名则删除目录下所有文件 下面贴代码 ...
分类:编程语言   时间:2017-11-08 13:17:05    阅读次数:302
Django补充
1.Django ORM def __unicode__ 类似 _str__ 方法,多为python2情况下使用 2.models.Manager:自定义manager以定制数据库访问,默认manager会有get_query_set()方法,它返回为默认的查询 objects 即 models.o ...
分类:其他好文   时间:2017-11-07 22:04:06    阅读次数:173
Git 忽略规则 .gitignore文件
添加忽略规则 .gitignore项目Android 添加忽略规则的三种方式From time to time, there are files you don't want Git to check in to GitHub. There are a few ways to tell Git wh... ...
分类:其他好文   时间:2017-11-07 12:16:49    阅读次数:180
洛谷 P2899 [USACO08JAN]手机网络Cell Phone Network(树形动规)
题目描述 Farmer John has decided to give each of his cows a cell phone in hopes to encourage their social interaction. This, however, requires him to set ...
分类:移动开发   时间:2017-11-05 13:14:28    阅读次数:239
适配器模式
什么是适配器模式? 适配器模式(Adapter):将一个类的接口转换成客户希望的另外一个接口,得原本由于接口不兼容而不能一起工作的那些类可以在一起工作。 适配器模式的分类 1、类适配器模式。适配器继承自己实现的类,一般是多重继承。 2、对象适配器模式。适配器容纳一个它包裹的类的实例。在这种情况下,适 ...
分类:其他好文   时间:2017-11-03 20:14:08    阅读次数:201
Routine Subroutine Coroutine 子程序 协程
https://en.wikipedia.org/wiki/Subroutine In computer programming, a subroutine is a sequence of program instructions that perform a specific task, pac ...
分类:其他好文   时间:2017-11-02 16:11:03    阅读次数:131
windows 使用命令打开防火墙的端口
Open TCP Port 80 in Windows Firewall Using Netsh [McNeel Wiki]https://wiki.mcneel.com/zoo/zoo5netsh 参考我写的 oracle xe远程访问 - 一支小白 - 博客园 http://www.cnblog ...
分类:Windows程序   时间:2017-11-02 13:04:06    阅读次数:255
spring+spring 日志输出
在根class路径中添加 logging.properties ...
分类:编程语言   时间:2017-11-01 21:45:26    阅读次数:327
1043. Is It a Binary Search Tree (25)
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only nodes ...
分类:其他好文   时间:2017-11-01 11:04:55    阅读次数:157
Unity2017.1官方UGUI文档翻译——Canvas
Canvas 画布 The Canvas is the area that all UI elements should be inside. The Canvas is a Game Object with a Canvas component on it, and all UI elements ...
分类:编程语言   时间:2017-11-01 10:23:18    阅读次数:210
899条   上一页 1 ... 62 63 64 65 66 ... 90 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!