Chinaunix首页 | 论坛 | 博客
  • 博客访问: 311948
  • 博文数量: 103
  • 博客积分: 1590
  • 博客等级: 上尉
  • 技术积分: 1075
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-02 10:17
文章分类

全部博文(103)

文章存档

2013年(32)

2012年(7)

2010年(64)

我的朋友

发布时间:2013-05-22 23:37:57

来源:http://www.cnblogs.com/itech/archive/2011/02/13/1953268.html一 setuptools 和easy_install setuptools:setuptools 是一组由PEAK(Python Enterprise Application Kit)开发的 Python 的 distutils 工具的增强工具,可以让程序员更方便的创建和发布 Python的egg 包,特别是那些对其它包具有依赖.........【阅读全文】

阅读(802) | 评论(0) | 转发(1)

发布时间:2013-05-11 17:41:49

#!/usr/local/bin/python # -*- coding: utf8 -*-import sys, os,reimport optparseimport tracebackdef usage():    usage='''usage1: %s               usage2: %s port      &.........【阅读全文】

阅读(522) | 评论(0) | 转发(0)

发布时间:2012-12-10 14:14:11

来源:http://www.cnblogs.com/lovemo1314/archive/2012/10/16/2725589.html python getopt 1.使用getopt模块处理Unix模式的命令行选项: getopt模块用于抽出命令行选项和参数,也就是sys.argv。命令行选项使得程序的参数更加灵活。支持短选项模式和长选项模式。    e.g. python scriptname.py -f 'hello' --directory-prefix=/home -t --format 'a' 'b'  ......【阅读全文】

阅读(892) | 评论(0) | 转发(0)

发布时间:2010-03-22 15:03:25

......【阅读全文】

阅读(1592) | 评论(2) | 转发(0)

发布时间:2010-03-11 17:25:48

......【阅读全文】

阅读(1197) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册