码迷,mamicode.com
首页 >  
搜索关键字:python gpio 点亮一颗led    ( 136028个结果
pycharm安装与实践
PyCharm简介PyCharm是一种Python IDE,带有一整套可以帮助用户在使用Python语言开发时提高其效率的工具,比如调试、语法高亮、Project管理、代码跳转、智能提示、自动完成、单元测试、版本控制。此外,该IDE提供了一些高级功能,以用于支持Django框架下的专业Web开发。详...
分类:其他好文   时间:2014-06-29 13:46:59    阅读次数:319
[leetcode]Anagrams @ Python
原题地址: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模块与包
模块是包括python定义和声明的文件。文件名=模块名+".py"。模块名保存在全局变量__name__中。1、模块中的执行语句,只是在导入时执行一次。这些语句通常用于初始化模块。2、被导入的模块被放到全局语义表中。3、import用法 +import moduleName +from modu.....
分类:编程语言   时间:2014-06-29 12:34:03    阅读次数:277
树莓派DS18b20
电路图:升级:sudo apt-get updatesudo apt-get upgrade加载驱动:sudo modprobe w1-gpio sudo modprobe w1-therm查看:lsmod 查看w1模块是否载入cat /sys/bus/w1/devices/28-*/w1_slav...
分类:其他好文   时间:2014-06-29 12:06:30    阅读次数:217
[leetcode]Search a 2D Matrix @ Python
原题地址: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
Python字符串分割
Python字符串函数应用
分类:编程语言   时间:2014-06-29 07:46:02    阅读次数:392
[leetcode]Valid Sudoku @ Python
原题地址: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
python中的编码问题:以ascii和unicode为主线
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
[leetcode]Sudoku Solver @ Python
原题地址: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
workflow中的‘非典型’自动触发器trigger_model
Openerp中workflow的设计机制工作流程系统在OpenERP里是非常有用的机制,可以用于即时描述单据(模型)状态的演进过程。工作流实现了状态流转的可配置,通过迁移的 condition代替python代码中的判断语句,通过迁移的signal增加审批按钮,增加了系统的灵活性。工作流程是完全可...
分类:其他好文   时间:2014-06-07 07:50:49    阅读次数:217
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!