python Programming Glossary: t.py
Why python finds module instead of package if they have the same name? http://stackoverflow.com/questions/14183541/why-python-finds-module-instead-of-package-if-they-have-the-same-name __init__.py test_1.py __init__.py classes.py extra.py root.py File contents root tests _ init _.py import os sys ROOT_DIRECTORY.. object pass root extra.py class Class3 object pass root root.py import os import sys ROOT_DIRECTORY os.path.abspath os.path.join.. root.extra File home dmugtasimov tmp name res root root.py line 6 in module from classes import Class2 ImportError cannot..
How to import 'GDB' in python http://stackoverflow.com/questions/4792483/how-to-import-gdb-in-python t MY SCRIPT.py . Here's an example save the file below to t.py import gdb gdb.execute 'file bin cat' o gdb.execute 'disassemble.. to_string True print o gdb.execute 'quit' run gdb q x t.py and you'll see the PLT stub for exit disassembled. On x86 64..
|