Re: Last 4 Letters of String

2008-02-21 Thread Rafael Sachetto
-- 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

Re: How do I execute a command from within python and wait on that command?

2008-02-15 Thread Rafael Sachetto
-- 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

Fwd: Regular Expression for Prime Numbers (or How I came to fail at them, and love the bomb)

2008-02-13 Thread Rafael Sachetto
/python-list -- Rafael Sachetto Oliveira Sir - Simple Image Resizer http://rsachetto.googlepages.com -- http://mail.python.org/mailman/listinfo/python-list

Re: arrays in lists

2007-12-17 Thread Rafael Sachetto
. -- Robert Kern I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth. -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list -- Rafael Sachetto

Re: How to browse a C Library with Python

2007-12-05 Thread Rafael Sachetto
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: with Python it is simple to call direct

Re: How to browse a C Library with Python

2007-12-05 Thread Rafael Sachetto
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

Re: pyuno and calc

2007-11-06 Thread Rafael Sachetto
-- Rafael Sachetto Oliveira Sir - Simple Image Resizer http://rsachetto.googlepages.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Iteration for Factorials

2007-10-22 Thread Rafael Sachetto
: import operator def fact(x): return reduce(operator.mul, xrange(1,x)) -- 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

Re: Iteration for Factorials

2007-10-22 Thread Rafael Sachetto
with no initial value I think you need to make it a bit more complicated. -- 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

Re: open remote terminal

2007-10-20 Thread Rafael Sachetto
have an idea, what I am doing wrong? Fabian -- 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

Re: Best Python Linux distribution

2007-10-17 Thread Rafael Sachetto
. 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 Image Resizer http://rsachetto.googlepages.com -- http://mail.python.org/mailman

Re: cannot create python packages

2007-10-10 Thread Rafael Sachetto
___ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html -- http://mail.python.org/mailman/listinfo/python-list -- Rafael Sachetto Oliveira Sir - Simple Image Resizer http

Re: for loop question

2007-10-10 Thread Rafael Sachetto
', 'e' 'e', 'l' 'l', 'l' 'l', 'o' etc... Of 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

Re: for loop question

2007-10-10 Thread Rafael Sachetto
: ... print a,b for a, b in zip(test, test[1:]): print a, b -- Paul Hankin -- 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