/usr/share/doc/python-urwid/examples/subproc2.py is in python-urwid-doc 2.0.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/usr/bin/env python
# this is part of the subproc.py example
from __future__ import print_function
import sys
try:
range = xrange
except NameError:
pass
num = int(sys.argv[1])
for c in range(1,10000000):
if num % c == 0:
print("factor:", c)
|