许明会的计算机技术主页

Language:C,C++,.NET Framework(C#)
Thinking:Design Pattern,Algorithm,WPF,Windows Internals
Database:SQLServer,Oracle,MySQL,PostSQL
IT:MCITP,Exchange,Lync,Virtualization,CCNP

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

11 2010 档案

Python体验(04)-字典dictionary
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#!/usr/bin/python#filename:dict.py#'ab'iscommunicationbookab={'Bill':'billgates@microsoft.com','Kaif... 阅读全文

posted @ 2010-11-21 00:33 许明会 阅读(339) 评论(0) 推荐(0) 编辑

Python体验(03)-列表list和元组tuple
摘要:示例1:LIST取得list长度len(list),向list追加元素list.append(),list排序list.sort(),删除list元素 del list[index] 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#!/usr/b... 阅读全文

posted @ 2010-11-20 23:35 许明会 阅读(274) 评论(0) 推荐(0) 编辑

Python体验(02)-模块Module
摘要:Module:mymodule.py[代码]实例1:直接导入模块,调用模块内函数及变量需要采用模块前缀。 [代码]实例2:显式导入模块函数及变量,调用模块的函数及变量不能加前缀。[代码] 阅读全文

posted @ 2010-11-20 22:35 许明会 阅读(185) 评论(0) 推荐(0) 编辑

Python体验(01)-变量、函数和基本控制语句
摘要:今天安装了Debian5,没想到基础安装的情况下居然会有python,于是安装试试这个传说中的语言。下面通过一系列简单示例来体验,代码可以直接粘贴保存,都通过测试。我参照pdf学习的,大家可以从这个地址下载pdf文件. 案例1: #用于注释,但第一行#!也给程序指出本代码是靠/usr/bin/python执行的,所以文件名可以不是py如果你乐意,你可以给helloworld.py 增加属性X,这样... 阅读全文

posted @ 2010-11-20 21:23 许明会 阅读(321) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示