码迷,mamicode.com
首页 >  
搜索关键字:professional    ( 785个结果
Beginning Python From Novice to Professional (7) - 类
类 创建简单类: #!/usr/bin/env python __metaclass__ = type class Person: def setName(self,name): self.name = name def getName(self): return self.name def greet(self): print "Hello,world! I'm %s."...
分类:编程语言   时间:2014-11-13 18:57:27    阅读次数:295
Beginning Python From Novice to Professional (6) - 函数使用
函数使用 定义函数:...
分类:编程语言   时间:2014-11-13 14:45:34    阅读次数:166
Beginning Python From Novice to Professional (3) - 列表操作
列表操作list函数:[python] view plaincopy>>>list('hello')['h','e','l','l','o']改变列表:[python] view plaincopy>>>x=[1,1,1]>>>x[1]=2>>>x[1,2,1]删除元素:[python] view ...
分类:编程语言   时间:2014-11-13 00:27:27    阅读次数:264
Beginning Python From Novice to Professional (2) - 命令行运行Python脚本
命令行运行Python脚本Linux下先创建一个hello.py[python] view plaincopy$gedithello.py输入:[python] view plaincopy#!/usr/bin/envpythonprint2+2保存退出,运行:[python] view plain...
分类:编程语言   时间:2014-11-13 00:17:32    阅读次数:263
Beginning Python From Novice to Professional (5) - 条件与循环
条件与循环 条件执行: name = raw_input('What is your name? ') if name.endswith('Gumby'): print 'Hello, Mr.Gumby'What is your name? Gumby Hello, Mr.Gumbyname = raw_input('What is your name? ') if name.endswit...
分类:编程语言   时间:2014-11-12 19:50:03    阅读次数:245
Beginning Python From Novice to Professional (4) - 字符串格式示例
$ gedit price.py #!/usr/bin/env python width = input('Please enter width: ') price_width = 10 item_width = width - price_width header_format = '%-*s%*s' format = '%-*s%*.2f' print '=' * width...
分类:编程语言   时间:2014-11-12 16:33:21    阅读次数:248
Beginning Python From Novice to Professional (3) - 列表操作
列表操作 list函数: >>> list('hello') ['h', 'e', 'l', 'l', 'o']改变列表: >>> x=[1,1,1] >>> x[1]=2 >>> x [1, 2, 1]删除元素: >>> names = ['wu','li','zhao','qian'] >>> del names[1] >>> names ['wu', 'zhao', 'qian']分...
分类:编程语言   时间:2014-11-12 15:06:10    阅读次数:142
Beginning Python From Novice to Professional (1) - 数字和表达式
数字和表达式 加减乘除: >>> 2+2 4 >>> 100-50 50 >>> 3*5 15 >>> 1/2 0 >>> 1.0/2.0 0.5求余、乘方: >>> 1%2 1 >>> 10%3 1 >>> 2**3 8 >>> -3**2 -9 >>> (-3)**2 9十六进制、八进制: >>> 0xff 255 >>> 020 16变量: >>> x=3 >>> x*2 6获取输...
分类:编程语言   时间:2014-11-12 13:53:31    阅读次数:211
Beginning Python From Novice to Professional (2) - 命令行运行Python脚本
命令行运行Python脚本 Linux下先创建一个hello.py $ gedit hello.py 输入: #!/usr/bin/env python print 2+2保存退出,运行: $ python hello.py 4我们也可以让它变得和普通程序一样执行 执行之前,让脚本文件具备可执行属性: $ chmod a+x hello.py运行脚本: $ ./hello.py ...
分类:编程语言   时间:2014-11-12 13:47:51    阅读次数:180
PgMP认证:大型复杂项目与项目群经理的高端认证
PgMP认证(即Program Management Professional)是美国项目管理协会(PMI)继PMP之后推出的又一项目管理权威认证。PgMP®是PMP的进阶认证,是跨越项目经理走上高级项目管理和管理层职位相匹配的知识、技能、经验和领导力的有力证明。 PgMP认证作为PMP认证的升级认...
分类:其他好文   时间:2014-11-06 09:17:56    阅读次数:152
785条   上一页 1 ... 66 67 68 69 70 ... 79 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!