One Hat Cyber Team
Your IP :
216.73.216.80
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
backup
/
oldserver
/
2
/
lib
/
pygtk
/
2.0
/
demos
/
Edit File:
__init__.py
import os _file_list = [ x for x in os.listdir(os.path.dirname(__file__)) if len(x) > 3 and x[-3:] == '.py'] demo_list = [] for _mod in _file_list: # Leave underscored Modulnames. if _mod.startswith('_'): continue _mod = _mod[:-3] try: _doc = '' exec 'import ' + _mod + '\n' + \ '_doc = ' + _mod + '.__doc__' _description = _doc.splitlines()[0] demo_list.append((_description, _mod)) except (ImportError, AttributeError), msg: # ImportError or AttributeError (if _doc is None) #print 'failed: ', _mod pass demo_list.sort()
Simpan