truncating division,truncating,x = 10count
truncating division,truncating,x = 10count
x = 10count = 0while x > 0: x = x // 2 count += 1print 'The approximate log2 is', count
- Format du(1) output as a tree sorted by size,outputsor
- Reverse grep through a file (useful for big logfiles),
- A variant on webchecker that creates a mirror copy of a
- Tkinter-based GUI for websucker,,#! /usr/bin/
- GUI interface to webchecker,guiwebchecker,#! /usr/bin/
- Statement Coverage,statementcoverage,from Tkinter
热门文章:
相关内容
- Format du(1) output as a tree sorted by size,outputsorted,'''PYTHON
- Reverse grep through a file (useful for big logfiles),greplogfiles,
- A variant on webchecker that creates a mirror copy of a remote site,
- Tkinter-based GUI for websucker,,#! /usr/bin/
- GUI interface to webchecker,guiwebchecker,#! /usr/bin/
- Statement Coverage,statementcoverage,from Tkinter
- Dump a database file to a pickle,dumppickle,'''PYTHON SO
- Add some standard cpp magic to a header file,cppheader,'''PYTHON SO
- Transform gprof(1) output into useful HTML.,transformgprof,'''PYTHO
- Find dependencies between a bunch of Python modules.,dependenciesbu
评论关闭