Re: Looking for a regular expression for this...

2006-07-28 Thread malahal
doesn't work! Since I am only interested in a particular host's filename, I could easily parse line by line. That is how it is done now, but would like to know if there any RE that does the trick! Thanks, Malahal. faulkner [EMAIL PROTECTED] wrote: > idk, most regexes look surprisingly li

Looking for a regular expression for this...

2006-07-28 Thread malahal
g for an RE that will do job. The answer should be "Y" for host hostname3 and "X" for either host hostname1 or hostname2. Thanks in advance. --Malahal. -- http://mail.python.org/mailman/listinfo/python-list

python script reading special keys like , etc.

2006-07-17 Thread malahal
I am planning to write a very simple python script that displays files based on user input. E.g. I need to display f1.msg file if the user presses key, f2.msg file if the user presses key. What is the easiest way to do this on Linux (xterm/vt100/asni etc). I tried using curses and it works, but

Re: TFTP client in python

2006-07-14 Thread malahal
I saw that in Google too! It is server centric and I was looking for client specific code. The code also doesn't compile due to white space issues. If this is the best available, I will have to get dirty in Python! Thanks, Malahal. Stefan Behnel [EMAIL PROTECTED] wrote: > [EMAIL PROTECTE

TFTP client in python

2006-07-13 Thread malahal
Is there a TFTP client python module? I just need "get file" feature. I came across two implementations on WEB, but they are kind of unfinished (got the code from some mailing list!). Thanks, Malahal. -- http://mail.python.org/mailman/listinfo/python-list