Re: Problem with sockets and python 2.5

2007-03-20 Thread Fabio FZero
On Mar 20, 10:05 am, Facundo Batista <[EMAIL PROTECTED]> wrote: > Jose Alberto Reguero wrote: > > 2: > >server.py at x86_64 python 2.5 > >client.py at i386 python 2.4 > > Don't work > > What do you mean with "don't work"? > > They crash? Your machine hungs? Your house explodes? Traceback (

Fun little project

2007-03-19 Thread Fabio FZero
This is what happens when a joke goes too far - so far that it generates Python code. http://code.google.com/p/pr0nbot/ Have fun! []s FZero -- http://mail.python.org/mailman/listinfo/python-list

Re: Using wildcards with Popen in the Subprocess module

2007-03-15 Thread Fabio FZero
You could use glob and expand the resulting list to astring manually, but you have to make sure the command accepts the "command file1 file2 file3..." format. FZero On Mar 15, 4:04 pm, William Hudspeth <[EMAIL PROTECTED]> wrote: > Hello, > > I am needing to pass an argument to the Popen function

Re: Grep Equivalent for Python

2007-03-14 Thread Fabio FZero
On Mar 14, 9:37 am, "tereglow" <[EMAIL PROTECTED]> wrote: > Hello all, > > I come from a shell/perl background and have just to learn python. To > start with, I'm trying to obtain system information from a Linux > server using the /proc FS. For example, in order to obtain the amount > of physical

Re: Problem I have with a while loop/boolean/or

2007-03-14 Thread Fabio FZero
On Mar 13, 7:34 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi all. > > I have a problem with some code :( > > --- > > hint = raw_input("\nAre you stuck? y/n: ") > hint = hint.lower() > > while (hint != 'n') or (hint != 'y'): > hint = raw_input("Please specify a valid choice: "