码迷,mamicode.com
首页 >  
搜索关键字:python python类 类实例化 类多重继承 类私有化    ( 135629个结果
[转载]Jenkins中执行batch和Python
Jenkins的job->build 支持Ant,maven,windows batch和Shell, 但是我们知道python,perl,ruby等脚本其实也是shell脚本,所以这里的Shell可以扩展为python,perl,ruby等。例如: 下面执行windows batch 和pytho...
分类:编程语言   时间:2014-06-11 10:03:49    阅读次数:296
[leetcode]Rotate Image @ Python
原题地址:https://oj.leetcode.com/problems/rotate-image/题意:You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Fo...
分类:编程语言   时间:2014-06-11 09:43:59    阅读次数:1264
python 学习心得-3
学习了元祖,写了小程序。#encoding = utf-8 a = ("success","false","what")print "first"print a #print all stringprint "\n"print "second"print a[:] #pirnt all string...
分类:编程语言   时间:2014-06-11 09:07:45    阅读次数:322
[leetcode]Pow(x, n) @ Python
原题地址:https://oj.leetcode.com/problems/powx-n/题意:Implement pow(x,n).解题思路:求幂函数的实现。使用递归,类似于二分的思路,解法来自Mark Allen Weiss的《数据结构与算法分析》。代码:class Solution: #...
分类:编程语言   时间:2014-06-11 08:59:33    阅读次数:317
[leetcode]Edit Distance @ Python
原题地址:https://oj.leetcode.com/problems/edit-distance/题意:Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2....
分类:编程语言   时间:2014-06-11 08:58:49    阅读次数:293
eclipse-python
2008 年 11 月 27 日PyDev for Eclipse 是一个功能强大且易用的 Eclipse Python IDE 插件。本文将向读者介绍 PyDev 开源项目及其安装配置方法,并在此基础上详细介绍如何利用 PyDev 插件把 Eclipse 变为功能强大且易用的 Python IDE...
分类:编程语言   时间:2014-06-11 08:12:49    阅读次数:435
Python學習筆記 第一課 Basic Information of Python
因學校習作需要而研究Python使用教材:Python3.4.1 Official Documentation - The Python Standard LibraryChapter 1Basic Information of Python1) Nature of Python: a high-l...
分类:编程语言   时间:2014-06-11 07:58:49    阅读次数:218
python操作mysql
一、安装第三方模块:MYSQLdb 1、地址:http://sourceforge.net/projects/mysql-python/ 新的可用地址:https://pypi.python.org/pypi/MySQL-python/1.2.4 2、安装 安装前:(si...
分类:数据库   时间:2014-06-10 00:23:28    阅读次数:372
swift 基本语法---01
Swift是苹果公司于2014年WWDC发布的一款全新的编程语言,这门语言可以用来开发ios,Mac的应用程序,苹果从2010年开始设计Swift语言,耗时4年。 Swift的语法内混合了JavaScript、Objective-C、Python这三门语言,语法简单,代码简洁,而且在开发ios...
分类:其他好文   时间:2014-06-08 15:35:05    阅读次数:255
为PyCharm添加不同解释器
正常大家会使用Python官网的安装包,即Python。由于自己尝试了下IronPython,但打开PyCharm查看配置,发现并没有IronPython的解释器,这个需要自己加进去
分类:其他好文   时间:2014-06-08 06:27:40    阅读次数:6420
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!