File: subproc2.py

package info (click to toggle)
urwid 2.6.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,236 kB
  • sloc: python: 29,290; javascript: 382; sh: 34; makefile: 22
file content (11 lines) | stat: -rw-r--r-- 192 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# this is part of the subproc.py example


from __future__ import annotations

import sys

num = int(sys.argv[1])
for c in range(1, 10000000):
    if num % c == 0:
        print("factor:", c)