ing. I'm sure it's a very simple task but I couldn't find anything
> of it.
>
>
>
> Any ideas?
>
>
>
> Rob
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Rafael Sachetto Oliveira
Sir - Simple Image Resizer
http://rsachetto.googlepages.com
--
http://mail.python.org/mailman/listinfo/python-list
thanks
> black_13
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Rafael Sachetto Oliveira
Sir - Simple Image Resizer
http://rsachetto.googlepages.com
--
http://mail.python.org/mailman/listinfo/python-list
eing read as "\x01".
>
> --
> Carsten Haese
> http://informixdb.sourceforge.net
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Rafael Sachetto Oliveira
Sir - Simple Image Resizer
http://rsachetto.googlepages.com
--
http://mail.python.org/mailman/listinfo/python-list
n mad attempt to interpret it as though it had
> an underlying truth."
> -- Umberto Eco
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Rafael Sachetto Oliveira
Sir - Simple Image Resizer
http://rsachetto.googlepages.com
--
http://mail.python.org/mailman/listinfo/python-list
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, Rafael Sachetto <[EMAIL PROTECTED]> wrote:
&g
ibc.so' and look
> at lines with type T.
To do this on a dynamic library you have to use nm -D /lib/libc.so
--
Rafael Sachetto Oliveira
Sir - Simple Image Resizer
http://rsachetto.googlepages.com
--
http://mail.python.org/mailman/listinfo/python-list
ttp://mail.python.org/mailman/listinfo/python-list
>
--
Rafael Sachetto Oliveira
Sir - Simple Image Resizer
http://rsachetto.googlepages.com
--
http://mail.python.org/mailman/listinfo/python-list
ef fact(x):
> return reduce(operator.mul,xrange(1,x))
>
> >>> fact(3)
> 2
> >>> fact(2)
> 1
> >>> fact(1)
>
> Traceback (most recent call last):
> File "", line 1, in
> fact(1)
> File "", line 2,
n range(b, -1, -1):
> >> for d in range(a):
> >> c += 1
> >> a = c
> >> return a
> >
> > Not simple enough for my taste:
> >
> >>>> import gmpy
> >>>> gmpy.fac(10)
> > mpz(3628800)
rrectly with your virtual terminal.
> >>
> >>http://pexpect.sourceforge.net/
>
> I actually gave it a first very simple try:
>
> import pexpect
> child=pexpect.spawn('xterm')
> child.sendline('ls')
>
> Unfortunately nothing
sure
> > about previous versions.
>
>
> Also, I am sure a lot of it (with most distributions) depends on the
> packages you select during the installation.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Rafael Sachetto Oliveira
Sir - Simple Imag
isn't valid at all. I am just giving an
> > > example of what I'm trying to accomplish. Anyone know how I can
> achieve the
> > > goal in the example above? Thanks.
> >
> > A "works-for-me":
> >
> > >>> pair
course, the for loop above isn't valid at all. I am just giving an
> example of what I'm trying to accomplish. Anyone know how I can achieve the
> goal in the example above? Thanks.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Rafael Sachetto Oliveira
Sir - Simple Image Resizer
http://rsachetto.googlepages.com
--
http://mail.python.org/mailman/listinfo/python-list
ructure
> inside /usr/lib/pythonX.Y/, whithout success however.
> Any ideas?
>
> Thnx
>
>
> ___
> Want ideas for reducing your carbon footprint? Visit Yahoo! For Good
> http://uk.promotions.yahoo.com/forgood/environment.html
14 matches
Mail list logo