0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.140.185.250


Current Path : /proc/self/root/usr/share/bash-completion/helpers/
Upload File :
Current File : //proc/self/root/usr/share/bash-completion/helpers/python

# -*- python -*-

import pkgutil
import sys

# walk_packages() is much slower than iter_modules(), use it only when
# completing something with a dot in it.
if len(sys.argv) > 1 and "." in sys.argv[1]:
    walker = pkgutil.walk_packages
else:
    walker = pkgutil.iter_modules

for mod in walker():
    print(mod[1])