亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? pdb.py

?? mallet是自然語言處理、機器學習領域的一個開源項目。
?? PY
?? 第 1 頁 / 共 3 頁
字號:
    # Print a traceback starting at the top stack frame.    # The most recently entered frame is printed last;    # this is different from dbx and gdb, but consistent with    # the Python interpreter's stack trace.    # It is also consistent with the up/down commands (which are    # compatible with dbx and gdb: up moves towards 'main()'    # and down moves towards the most recent stack frame).    def print_stack_trace(self):        try:            for frame_lineno in self.stack:                self.print_stack_entry(frame_lineno)        except KeyboardInterrupt:            pass    def print_stack_entry(self, frame_lineno, prompt_prefix=line_prefix):        frame, lineno = frame_lineno        if frame is self.curframe:            print '>',        else:            print ' ',        print self.format_stack_entry(frame_lineno, prompt_prefix)    # Help methods (derived from pdb.doc)    def help_help(self):        self.help_h()    def help_h(self):        print """h(elp)Without argument, print the list of available commands.With a command name as argument, print help about that command"help pdb" pipes the full documentation file to the $PAGER"help exec" gives help on the ! command"""    def help_where(self):        self.help_w()    def help_w(self):        print """w(here)Print a stack trace, with the most recent frame at the bottom.An arrow indicates the "current frame", which determines thecontext of most commands.  'bt' is an alias for this command."""    help_bt = help_w    def help_down(self):        self.help_d()    def help_d(self):        print """d(own)Move the current frame one level down in the stack trace(to an older frame)."""    def help_up(self):        self.help_u()    def help_u(self):        print """u(p)Move the current frame one level up in the stack trace(to a newer frame)."""    def help_break(self):        self.help_b()    def help_b(self):        print """b(reak) ([file:]lineno | function) [, condition]With a line number argument, set a break there in the currentfile.  With a function name, set a break at first executable lineof that function.  Without argument, list all breaks.  If a secondargument is present, it is a string specifying an expressionwhich must evaluate to true before the breakpoint is honored.The line number may be prefixed with a filename and a colon,to specify a breakpoint in another file (probably one thathasn't been loaded yet).  The file is searched for on sys.path;the .py suffix may be omitted."""    def help_clear(self):        self.help_cl()    def help_cl(self):        print "cl(ear) filename:lineno"        print """cl(ear) [bpnumber [bpnumber...]]With a space separated list of breakpoint numbers, clearthose breakpoints.  Without argument, clear all breaks (butfirst ask confirmation).  With a filename:lineno argument,clear all breaks at that line in that file.Note that the argument is different from previous versions ofthe debugger (in python distributions 1.5.1 and before) wherea linenumber was used instead of either filename:lineno orbreakpoint numbers."""    def help_tbreak(self):        print """tbreak  same arguments as break, but breakpoint isremoved when first hit."""    def help_enable(self):        print """enable bpnumber [bpnumber ...]Enables the breakpoints given as a space separated list ofbp numbers."""    def help_disable(self):        print """disable bpnumber [bpnumber ...]Disables the breakpoints given as a space separated list ofbp numbers."""    def help_ignore(self):        print """ignore bpnumber countSets the ignore count for the given breakpoint number.  A breakpointbecomes active when the ignore count is zero.  When non-zero, thecount is decremented each time the breakpoint is reached and thebreakpoint is not disabled and any associated condition evaluatesto true."""    def help_condition(self):        print """condition bpnumber str_conditionstr_condition is a string specifying an expression whichmust evaluate to true before the breakpoint is honored.If str_condition is absent, any existing condition is removed;i.e., the breakpoint is made unconditional."""    def help_step(self):        self.help_s()    def help_s(self):        print """s(tep)Execute the current line, stop at the first possible occasion(either in a function that is called or in the current function)."""    def help_next(self):        self.help_n()    def help_n(self):        print """n(ext)Continue execution until the next line in the current functionis reached or it returns."""    def help_return(self):        self.help_r()    def help_r(self):        print """r(eturn)Continue execution until the current function returns."""    def help_continue(self):        self.help_c()    def help_cont(self):        self.help_c()    def help_c(self):        print """c(ont(inue))Continue execution, only stop when a breakpoint is encountered."""    def help_list(self):        self.help_l()    def help_l(self):        print """l(ist) [first [,last]]List source code for the current file.Without arguments, list 11 lines around the current lineor continue the previous listing.With one argument, list 11 lines starting at that line.With two arguments, list the given range;if the second argument is less than the first, it is a count."""    def help_args(self):        self.help_a()    def help_a(self):        print """a(rgs)Print the arguments of the current function."""    def help_p(self):        print """p expressionPrint the value of the expression."""    def help_exec(self):        print """(!) statementExecute the (one-line) statement in the context ofthe current stack frame.The exclamation point can be omitted unless the first wordof the statement resembles a debugger command.To assign to a global variable you must always prefix thecommand with a 'global' command, e.g.:(Pdb) global list_options; list_options = ['-l'](Pdb)"""    def help_quit(self):        self.help_q()    def help_q(self):        print """q(uit) or exit - Quit from the debugger.The program being executed is aborted."""    help_exit = help_q    def help_whatis(self):        print """whatis argPrints the type of the argument."""    def help_EOF(self):        print """EOFHandles the receipt of EOF as a command."""    def help_alias(self):        print """alias [name [command [parameter parameter ...] ]]Creates an alias called 'name' the executes 'command'.  The commandmust *not* be enclosed in quotes.  Replaceable parameters areindicated by %1, %2, and so on, while %* is replaced by all theparameters.  If no command is given, the current alias for nameis shown. If no name is given, all aliases are listed.Aliases may be nested and can contain anything that can belegally typed at the pdb prompt.  Note!  You *can* overrideinternal pdb commands with aliases!  Those internal commandsare then hidden until the alias is removed.  Aliasing is recursivelyapplied to the first word of the command line; all other wordsin the line are left alone.Some useful aliases (especially when placed in the .pdbrc file) are:#Print instance variables (usage "pi classInst")alias pi for k in %1.__dict__.keys(): print "%1.",k,"=",%1.__dict__[k]#Print instance variables in selfalias ps pi self"""    def help_unalias(self):        print """unalias nameDeletes the specified alias."""    def help_pdb(self):        help()    def lookupmodule(self, filename):        """Helper function for break/clear parsing -- may be overridden."""        root, ext = os.path.splitext(filename)        if ext == '':            filename = filename + '.py'        if os.path.isabs(filename):            return filename        for dirname in sys.path:            while os.path.islink(dirname):                dirname = os.readlink(dirname)            fullname = os.path.join(dirname, filename)            if os.path.exists(fullname):                return fullname        return None# Simplified interfacedef run(statement, globals=None, locals=None):    Pdb().run(statement, globals, locals)def runeval(expression, globals=None, locals=None):    return Pdb().runeval(expression, globals, locals)def runctx(statement, globals, locals):    # B/W compatibility    run(statement, globals, locals)def runcall(*args):    return apply(Pdb().runcall, args)def set_trace():    Pdb().set_trace()# Post-Mortem interfacedef post_mortem(t):    p = Pdb()    p.reset()    while t.tb_next is not None:        t = t.tb_next    p.interaction(t.tb_frame, t)def pm():    post_mortem(sys.last_traceback)# Main program for testingTESTCMD = 'import x; x.main()'def test():    run(TESTCMD)# print helpdef help():    for dirname in sys.path:        fullname = os.path.join(dirname, 'pdb.doc')        if os.path.exists(fullname):            sts = os.system('${PAGER-more} '+fullname)            if sts: print '*** Pager exit status:', sts            break    else:        print 'Sorry, can\'t find the help file "pdb.doc"',        print 'along the Python search path'mainmodule = ''mainpyfile = ''# When invoked as main program, invoke the debugger on a scriptif __name__=='__main__':    if not sys.argv[1:]:        print "usage: pdb.py scriptfile [arg] ..."        sys.exit(2)    mainpyfile = filename = sys.argv[1]     # Get script filename    if not os.path.exists(filename):        print 'Error:', `filename`, 'does not exist'        sys.exit(1)    mainmodule = os.path.basename(filename)    del sys.argv[0]         # Hide "pdb.py" from argument list    # Insert script directory in front of module search path    sys.path.insert(0, os.path.dirname(filename))    run('execfile(' + `filename` + ')')

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本乱人伦一区| 欧美综合在线视频| 老汉av免费一区二区三区| 亚洲精品亚洲人成人网在线播放| 337p日本欧洲亚洲大胆精品| 欧美一激情一区二区三区| 3751色影院一区二区三区| 6080国产精品一区二区| 欧美一区二区三区日韩| 精品成人一区二区三区| 久久久久久亚洲综合| 国产欧美日韩精品一区| 中文字幕第一区综合| 亚洲婷婷综合久久一本伊一区| 国产精品成人免费精品自在线观看| 国产精品萝li| 亚洲一二三四久久| 美女脱光内衣内裤视频久久影院| 美日韩黄色大片| 国产精品系列在线播放| 99精品久久免费看蜜臀剧情介绍| 一本色道久久加勒比精品| 欧美三电影在线| 亚洲精品一区二区精华| 国产精品素人视频| 亚洲成人黄色小说| 国产精品一区二区男女羞羞无遮挡| 成人午夜精品一区二区三区| 色琪琪一区二区三区亚洲区| 日韩视频免费观看高清完整版| wwww国产精品欧美| 亚洲一区自拍偷拍| 国产精品888| 欧美亚州韩日在线看免费版国语版| 欧美精品丝袜中出| 国产女主播一区| 日韩av成人高清| 国产成a人亚洲精品| 欧美日韩二区三区| 国产精品系列在线| 蜜桃91丨九色丨蝌蚪91桃色| 一本久久精品一区二区| 欧美不卡在线视频| 亚洲一区二区精品3399| 国产精品一区二区久久精品爱涩| 欧美日韩另类一区| 国产精品国产三级国产aⅴ入口 | 日韩精品中文字幕在线一区| 欧美激情一区二区三区全黄 | 精品久久一区二区| 亚洲美女精品一区| 成人性视频网站| 精品国产乱码久久久久久夜甘婷婷 | 日韩国产高清影视| 色狠狠一区二区三区香蕉| 久久精品综合网| 麻豆精品视频在线观看视频| 欧洲精品中文字幕| 国产精品高清亚洲| 高清不卡在线观看| 欧美激情一区二区在线| 久久99久久精品| 欧美一区永久视频免费观看| 亚洲一级不卡视频| 在线亚洲高清视频| 一区二区三区精品久久久| 99精品在线观看视频| 欧美国产日本视频| 波波电影院一区二区三区| 亚洲一区二区在线观看视频| 风间由美一区二区三区在线观看 | 欧美综合视频在线观看| 成人免费小视频| 成人免费视频播放| 亚洲国产激情av| 国产不卡视频在线播放| 欧美激情一区二区在线| aaa亚洲精品| 亚洲男人的天堂在线观看| 播五月开心婷婷综合| 自拍偷拍国产精品| 91福利区一区二区三区| 亚洲国产精品久久久久秋霞影院 | 国产欧美精品在线观看| 国产精品一色哟哟哟| 欧美国产一区在线| 色婷婷久久综合| 亚洲国产综合在线| 欧美久久一二区| 青娱乐精品视频| 久久精品一区二区三区不卡牛牛| 国产精品一二三四五| 国产精品毛片久久久久久| a亚洲天堂av| 亚洲一区二区视频在线观看| 欧美日韩aaaaaa| 久久99国产精品成人| 国产人成一区二区三区影院| 9久草视频在线视频精品| 亚洲男人的天堂在线aⅴ视频| 欧美人伦禁忌dvd放荡欲情| 日本va欧美va瓶| 国产日产欧产精品推荐色| 97se亚洲国产综合在线| 视频在线观看一区二区三区| 欧美白人最猛性xxxxx69交| 成人午夜电影久久影院| 亚洲va天堂va国产va久| 久久夜色精品一区| 在线免费观看日本欧美| 国产在线视频一区二区三区| 亚洲精品综合在线| 久久免费看少妇高潮| 色婷婷精品久久二区二区蜜臂av| 免费成人在线播放| 久久精品国产久精国产| 国产精品二区一区二区aⅴ污介绍| 欧美日韩一区二区三区视频| 国产成人在线看| 午夜亚洲福利老司机| 国产精品入口麻豆九色| 欧美成人性战久久| 欧美色手机在线观看| 成人av电影免费观看| 韩国精品主播一区二区在线观看| 亚洲精品高清在线观看| 国产婷婷色一区二区三区| 91精品视频网| 欧洲精品一区二区三区在线观看| 国产高清亚洲一区| 精品在线亚洲视频| 视频一区视频二区中文| 一区二区三区精品视频在线| 国产女人aaa级久久久级| 日韩精品一区二区三区蜜臀| 欧美日韩一区二区三区四区| 91亚洲永久精品| eeuss国产一区二区三区| 黄色资源网久久资源365| 日韩国产在线观看| 五月天精品一区二区三区| 亚洲精品免费播放| 久久99最新地址| 人人精品人人爱| 日韩av成人高清| 免费在线观看精品| 五月婷婷激情综合| 午夜精品久久一牛影视| 亚洲v精品v日韩v欧美v专区| 亚洲国产日韩a在线播放| 一区二区三区高清| 一区二区三区欧美视频| 亚洲精品成人在线| 亚洲香肠在线观看| 日韩精品亚洲一区| 免费观看30秒视频久久| 免费xxxx性欧美18vr| 日韩二区在线观看| 日本欧美韩国一区三区| 美女视频黄 久久| 国产一区二区精品久久91| 激情成人午夜视频| 高清beeg欧美| 一本色道久久加勒比精品| 欧美日韩一区二区不卡| 91精品久久久久久久99蜜桃| 日韩精品中文字幕一区| 久久精品视频一区| 亚洲欧美国产毛片在线| 亚洲午夜激情av| 久久黄色级2电影| 大尺度一区二区| 欧美影视一区在线| 欧美精品久久天天躁| 日韩欧美一级二级| 亚洲国产精品成人综合 | 美美哒免费高清在线观看视频一区二区| 天堂资源在线中文精品| 精油按摩中文字幕久久| 国产a久久麻豆| 在线精品视频一区二区三四| 在线日韩一区二区| 26uuu欧美| 亚洲国产精品一区二区久久| 麻豆极品一区二区三区| 99精品视频在线播放观看| 7777精品伊人久久久大香线蕉完整版 | 久久一留热品黄| 怡红院av一区二区三区| 裸体在线国模精品偷拍| www.99精品| 日韩免费看的电影| 亚洲女同ⅹxx女同tv| 理论片日本一区| 一道本成人在线| 国产亚洲欧美一级| 免费一级片91| 欧美性猛交xxxxxx富婆| 国产精品久久综合| 久久99国产精品久久99果冻传媒|