Re: Remoting over SSH

2009-07-08 Thread Raúl Gómez C .
You also could use TwistedConch, which is an implementation of the SSH2 protocol for Python. I've done something with it, you can read my first questions on the TwistedConch list here

Re: Wing IDE Backup configuration settings?

2009-03-30 Thread Raúl Gómez C .
Find the .wingide folder in your home and tar it, at least in linux... On Sat, Mar 28, 2009 at 12:26 PM, John Doe wrote: > > Anyone know how to back up the configuration settings like font sizes > and colors in the Wing IDE? Thanks. > -- > http://mail.python.org/mailman/listinfo/python-list >

Re: Importing My Own Script

2008-04-17 Thread Raúl Gómez C.
Victor, you can do this in order to load your own modules: import sys,os sys.path.append(os.getcwd()) import your_module On Fri, Apr 18, 2008 at 12:34 PM, Ben Kaplan <[EMAIL PROTECTED]> wrote: > It might be something in mod python. Try asking on their mailing list. > > - Original Message

Re: Bidirectional communication over unix socket (named pipe)

2007-10-23 Thread Raúl Gómez C.
Hi list, I've been looking around and I found a very interesting solution to this problem, but instead of using a file for communication the author (Eduardo Fleury) uses a reference to the abstract namespace, chek it out... http://blog.eduardofleury.com/archives/2007/09/13/ Raul -- http://mail.

Re: Bidirectional communication over unix socket (named pipe)

2007-10-17 Thread Raúl Gómez C.
This is the code I'm running (just the server): #!/usr/bin/python import socket import os, os.path import time if os.path.exists("hpcd_sock"): os.remove("hpcd_sock") server = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) server.bind("hpcd_sock") while True: datagram = server.recv(10

Re: Bidirectional communication over unix socket (named pipe)

2007-10-17 Thread Raúl Gómez C.
Nop, it doesn't work, at least for me (python 2.5)... On 10/18/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > > > As I understand the OP's own response, changing SOCK_DGRAM to SOCK_STREAM > here solved the issue. > > -- > Gabriel Genellina > > -- > http://mail.python.org/mailman/listinfo/pytho

Re: Bidirectional communication over unix socket (named pipe)

2007-10-17 Thread Raúl Gómez C.
gt; len(TX): print "TX incomplete" while True: print "Waiting..." datagram = client.recv(1024) # the client sits here forever, I see the "waiting appear" but it doesn't advance beyond # the recv statement. if not datagram:

Bidirectional communication over unix socket (named pipe)

2007-10-17 Thread Raúl Gómez C.
Hi Jeffrey, I've been reading the Python mailing list and I've found a post of you about Unix socket with Python, you've found the answer to you're problem by your self, but I wonder if you still has the working code and if you would share it? Thanks!... Raul On *Wed Mar 8 18:11:11 CET 2006, *

Re: Tkinter or wxpython?

2007-08-05 Thread Raúl Gómez C.
Well, for a newbie I think the best choice is PythonCard, is a framework based on wxPython but much more simple, check it out! On 8/3/07, Glenn Hutchings <[EMAIL PROTECTED]> wrote: > > On Aug 3, 1:00 am, "wang frank" <[EMAIL PROTECTED]> wrote: > > I want to buil

Re: Getting the output from a console command while it's been generated!

2007-01-28 Thread Raúl Gómez C.
I can't use the subprocess module because my app needs to be compatible with Python 2.3 so, is there another approach to this problem??? Thanks! On 1/26/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote: "Raúl Gómez C." <[EMAIL PROTECTED]> escribió en el mensaje ne

Getting the output from a console command while it's been generated!

2007-01-26 Thread Raúl Gómez C.
Hi everyone, I'm trying to make my apps more informative to the user, so I want to know if its possible to get the output of the execution of a console command while it's been generated, I mean, I want to get the output from commands.getstatusoutput('CMD') while CMD it's been executed and not wai