On 5 Dez., 21:03, "Rafael Sachetto" <[EMAIL PROTECTED]> wrote:
> This could be a solution
>
> import commands
>
> callables = commands.getoutput("nm -D /lib/libc.so.6 | egrep ' T '
> ").split("\n")
> callables = [c.split()[2] for c in callables]
>
> print callables
>
> On Dec 5, 2007 5:26 PM, Rafae
Hello,
with Python it is simple to call direct functions from c-librarys.
Is there a way to browse over a library i.e. '/lib/libc.so' with
python, to see all possible functions in a library?
#!/python
import dl, time
i = 1
line = "Python ist geil, weil ich direkt auf C librarys zugreifen kann!
\n"