PyCharm简介PyCharm是一种Python
IDE,带有一整套可以帮助用户在使用Python语言开发时提高其效率的工具,比如调试、语法高亮、Project管理、代码跳转、智能提示、自动完成、单元测试、版本控制。此外,该IDE提供了一些高级功能,以用于支持Django框架下的专业Web开发。详...
分类:
其他好文 时间:
2014-06-29 13:46:59
阅读次数:
319
原题地址:https://oj.leetcode.com/problems/anagrams/题意:Given
an array of strings, return all groups of strings that are anagrams.Note: All
inputs will be i...
分类:
编程语言 时间:
2014-06-29 13:25:28
阅读次数:
355
模块是包括python定义和声明的文件。文件名=模块名+".py"。模块名保存在全局变量__name__中。1、模块中的执行语句,只是在导入时执行一次。这些语句通常用于初始化模块。2、被导入的模块被放到全局语义表中。3、import用法
+import moduleName +from modu.....
分类:
编程语言 时间:
2014-06-29 12:34:03
阅读次数:
277
原题地址:https://oj.leetcode.com/problems/search-a-2d-matrix/题意:Write
an efficient algorithm that searches for a value in anmxnmatrix. This matrix has
the...
分类:
编程语言 时间:
2014-06-29 07:56:13
阅读次数:
321
原题地址:https://oj.leetcode.com/problems/valid-sudoku/题意:Determine
if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board
could b...
分类:
编程语言 时间:
2014-06-07 11:26:18
阅读次数:
296
1.unicode、gbk、gb2312、utf-8的关系http://www.pythonclub.org/python-basic/encode-detail这篇文章写的比较好,utf-8是unicode的一种实现方式,unicode、gbk、gb2312是编码字符集;2.python中的中文编...
分类:
编程语言 时间:
2014-06-07 09:31:22
阅读次数:
280
原题地址:https://oj.leetcode.com/problems/sudoku-solver/题意:Write
a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are
indicated b...
分类:
编程语言 时间:
2014-06-07 09:30:06
阅读次数:
342
from xml.etree import ElementTreeclass
CommentedTreeBuilder ( ElementTree.XMLTreeBuilder ): def __init__ ( self, html =
0, target = None ): ...
分类:
编程语言 时间:
2014-06-05 13:16:31
阅读次数:
261