摘要: Sincestr.format()is quite new, a lot of Python code still uses the%operator. However, because this old style of formatting will eventually be removed from the language,str.format()should generally be used.More information can be found in theString Formatting Operationssection.老式的("%s id %s" 阅读全文
posted @ 2013-05-06 13:10 tangr206 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 连接5.5 Stopping and Starting Multi-thread Programsgdbsupports debugging programs with multiple threads (seeDebugging Programs with Multiple Threads). There are two modes of controlling execution of your program within the debugger. In the default mode, referred to asall-stop mode, when any thread in 阅读全文
posted @ 2013-05-06 10:56 tangr206 阅读(244) 评论(0) 推荐(0) 编辑