浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年11月19日

摘要: 在Maven中怎么配置外部Jar - 刘刚的空间 - ITeye技术网站在Maven中怎么配置外部Jar 博客分类:Maven假设我们有一个Maven的project,其中有些Jar包不是来自Maven库的,是存在本地的某些Jar文件,比如说在project下有一个lib,里面放了一些额外需要的Jar。默认情况下,如果用mvn 命令去编译或运行它,并且其中有使用到这些外部jar的类,那么可能报x... 阅读全文
posted @ 2012-11-19 20:17 lexus 阅读(1114) 评论(0) 推荐(0)

摘要: JSON-RPC 2.0 : Java Server FrameworkJSON-RPC 2.0 ServerSimple and efficient Java framework for processing JSON-RPC 2.0 requests and notificationsNo complicated J2EE and Spring stuff, just POJOsWith me... 阅读全文
posted @ 2012-11-19 18:28 lexus 阅读(1164) 评论(0) 推荐(0)

摘要: python-json-rpc – JSON-RPCJSON-RPC for python ¶There are two implementations hosted on json-rpc.org: The old one which has support for JSON-RPC over TCP and HTTP. And there is the rewrite of JSON-RPC ... 阅读全文
posted @ 2012-11-19 18:07 lexus 阅读(1813) 评论(0) 推荐(0)

摘要: gnucom.cc — Using the Stanford Parser with Jython.gnucom.ccCode snippets and more…Using the Stanford Parser with Jython.The following code is a Jython adaptation of the example Java code that comes wi... 阅读全文
posted @ 2012-11-19 17:49 lexus 阅读(374) 评论(0) 推荐(0)

摘要: python模块——logging - 望仔的日志 - 网易博客python模块——logging 2011-12-07 17:20:17|分类: python |标签: |字号大中小订阅#encoding=utf-8import logging#日志调试函数def debug_log(msg='',filename=''): if msg=='': print 'msg is empty' r... 阅读全文
posted @ 2012-11-19 16:51 lexus 阅读(212) 评论(0) 推荐(0)

摘要: python模块——logging - 望仔的日志 - 网易博客默认的levelroot logger默认的level是logging.WARNING 阅读全文
posted @ 2012-11-19 16:50 lexus 阅读(382) 评论(0) 推荐(0)

摘要: Python的logging模块 - sislcb - 博客园Python的logging模块转载自:http://gashero.yeax.com/?p=16翻译:gashero <harry.python@gmail.com>目录1简介-Python文档 2各种Handler的子类 2.1TimedRotatingFileHandler 1简介-Python文档从Python2.3版本中开始引... 阅读全文
posted @ 2012-11-19 16:06 lexus 阅读(207) 评论(0) 推荐(0)

摘要: 老鱼 » Python的日志系统Python的日志系统27 03月, 2008 (14:03) | 可爱的Python 如果使用Python写一个比较大型的程序,你一定会用上日志系统。特别是Python这样的动态语言,很多错误都只能在运行的时候才能发现,一个好的日志系统对于Python程序相当重要。最简单的解决方案当然是直接使用print输出运行信息。但是这样太简单了,没有分级功能,如果在发布的... 阅读全文
posted @ 2012-11-19 15:55 lexus 阅读(416) 评论(0) 推荐(0)

摘要: python的logging模块【zz】-海 的 声音-我的搜狐1) logging.StreamHandler使用这个Handler可以向类似与sys.stdout或者sys.stderr的任何文件对象(file object)输出信息。它的构造函数是:StreamHandler([strm])其中strm参数是一个文件对象。默认是sys.stderr 阅读全文
posted @ 2012-11-19 15:40 lexus 阅读(1849) 评论(0) 推荐(0)

摘要: Python模块学习 ---- logging 日志记录(一) - 成长的点滴,记录与分享 - 博客频道 - CSDN.NETStreamHandlerpython的logging模块【zz】-海 的 声音-我的搜狐python的logging模块【zz】分类: 学术交流 2011-02-12 13:33 如果使用Python写一个比较大型的程序,你一定会用上日志系统。特别是Py... 阅读全文
posted @ 2012-11-19 15:30 lexus 阅读(387) 评论(0) 推荐(0)

摘要: class A():Python: 使用装饰器“@”取得函数执行时间 - oldJ的学习笔记 - 博客频道 - CSDN.NETPython: 使用装饰器“@”取得函数执行时间 分类: Python 2009-10-14 12:53 752人阅读 评论(0) 收藏 举报 Python中可以使用装饰器对函数进行装饰(或说包装),利用这个特性,可以很方便、简洁地解决一些问题,比如获得函数执行时间的问题... 阅读全文
posted @ 2012-11-19 15:21 lexus 阅读(1661) 评论(0) 推荐(0)

摘要: #!/usr/bin/env python#encoding=utf-8class A(): def __init__(self): self.a="bb" print "A"class B(A): def __init__(self): A.__init__(self) print self.a print "B"B() 阅读全文
posted @ 2012-11-19 14:35 lexus 阅读(213) 评论(0) 推荐(0)

摘要: #!/usr/bin/env python#encoding=utf-8class A(): def __init__(self): self.a="bb" print "A"class B(A): def __init__(self): #A.__init__(self) print "B"B() 阅读全文
posted @ 2012-11-19 14:29 lexus 阅读(222) 评论(0) 推荐(0)

摘要: 关于PYTHON里SUPER使用时报的typeerror错误 - dongua的日志 - 网易博客关于PYTHON里SUPER使用时报的typeerror错误 2009-08-25 17:16:08|分类: 开发 |标签: |字号大中小订阅使用super函数时,报错:TypeError: super() argument 1 must be type, not classobj查了下原因,了解到... 阅读全文
posted @ 2012-11-19 14:13 lexus 阅读(186) 评论(0) 推荐(0)

摘要: YuYii - 博客园关于PYTHON里SUPER使用时报的typeerror错误使用super函数时,报错:TypeError: super() argument 1 must be type, not classobj查了下原因,了解到PYTHON里的SUPER只能用在新式类中,不能用于以前的经典类,如果基类是经典类则会出这个错。新式类:就是所有类都必须继承的类,如果什么都不想继承,就继承到o... 阅读全文
posted @ 2012-11-19 14:10 lexus 阅读(261) 评论(0) 推荐(0)

摘要: python多线程学习 - Rollen Holt - 博客园python多线程学习今天在学习尝试学习python多线程的时候,突然发现自己一直对super的用法不是很清楚,所以先总结一些遇到的问题。当我尝试编写下面的代码的时候:?123456789class A():def __init__( self ):print "A"class B( A ):def __init__( self ):s... 阅读全文
posted @ 2012-11-19 14:07 lexus 阅读(250) 评论(0) 推荐(0)