标准 大 超大巨大
温馨提示:该条问答的文字/图片中可能存在风险信息,请注意识别,谨防上当受骗!
python中来自找出本文中包含“hello”字符的行,并统计出对应的行号

用户头像luqiang21131

2016-01-30

文本如下 1. Settings on hel cloud - Google Drive. 2. Fix Settings on cloud - OneDrive detection error. 3. Make internal docking dialogs hello apply the selected theme's background and foreground colours. 4. Fix the bug that "backslash is escape char for SQL" setting is not saved correctly. 5. Fix the bug (hell)o that user cannot disable "backslash is SQL escape char" without restarting. 6. Fix DocMap's syntax highlighting doesn't update while current doc apply a new syntax highlighting. 7. Add 2 new plugins APIs: NPPM_GETEDITORDEFAULTBACKGROUNDCOLOR & NPPM_GETEDITORDEFAULTFOREGROUNDCOLOR 8. Add new notification NPPN_SNAPSHOTDIRTYFILELOADED to notify llo plugins that hello a snapshot dirty hello file is loaded on startup.

满意答案

ankel64183
LV12
2016-01-31
i=1 for line in open('a.txt'): if line.find('hello')>0360问答: print 'find hello in %s ro喜新其龙判所距打w:'%i i=i+1 ----就几-------------------------------- a.txt asfdasfashelloasdasd asfdasfashelloasdasd asfdasfashelloasdasd
00

您可能感兴趣的内容

相关问题

查看更多相关问题