码迷,mamicode.com
首页 >  
搜索关键字:python list    ( 182949个结果
Perl 哈希、数组 排序
写在前面: 1. 注意use warnings; 后,定义变量前加my 2. 此文转载其他文章,代码修改,适合新版本perl(一) sort函数sort LISTsort BLOCK LISTsort SUBNAME LISTsort的用法有如上3种形式。它对LIST进行排序,并返回排序后的列表.....
分类:其他好文   时间:2014-05-18 19:17:50    阅读次数:444
python的文件读写
python文件的基本读写操作。
分类:编程语言   时间:2014-05-18 18:57:41    阅读次数:233
Leetcode | Partition List
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should preserve the o...
分类:其他好文   时间:2014-05-18 02:34:57    阅读次数:352
反射用法
static void Main(string[] args) { var retul = GetListData("wang"); } public static List GetListData(string name) where ...
分类:其他好文   时间:2014-05-18 02:06:10    阅读次数:243
Leetcode | Reverse Nodes in k-Group
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.If the number of nodes is not a multiple of k then le...
分类:其他好文   时间:2014-05-18 01:53:53    阅读次数:331
Python基础(8)--文件
文件可以通过调用open或file来打开,open通常比file更通用,因为file几乎都是为面向对象程序设计量身打造本文地址:http://www.cnblogs.com/archimedes/p/python-file.html,转载请注明源地址。打开文件打开文件程序会调用内置的open函数,首...
分类:编程语言   时间:2014-05-17 18:58:06    阅读次数:419
Eclipse 下搭建pyDev python开发环境及helloworld
一,安装基础环境 1,安装jdk7,并配置环境变量(pyDev要求jdk7及以上版本,否则安装好也不显示) 2,下载Eclipse并解压 3,安装python3.X二,Eclipse下配置pyDev 1,安装插件:help -> Install new Software.. ->输入PyDe...
分类:编程语言   时间:2014-05-17 18:54:51    阅读次数:322
List 循环的高效代码块
高效的代码块: /* Iterator it = al.iterator();//获取迭代器,用于取出集合中的元素。 while(it.hasNext()) { sop(it.next()); } ...
分类:其他好文   时间:2014-05-17 18:28:51    阅读次数:252
解决Centos 6.3 中 gedit中文乱码问题
1、安装gconf-editor yum list | grep conf-editoryum install gconf-editor2、运行gconf-editor设置: apps ---> gedit-2 ---> preferences ----> encodingauto-detected...
分类:其他好文   时间:2014-05-17 18:18:56    阅读次数:215
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!