Re: prog1 | prog2 . How not to make prog2 block if not piped?

2006-06-14 Thread imcs ee
yeah, forget my post ,it;s useless. sorry for my thoughtless On 14 Jun 2006 10:40:15 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > imcs ee ha scritto: > > > do u really need read something even when you run the scripts2.py directly? > > why not just change scr

Re: prog1 | prog2 . How not to make prog2 block if not piped?

2006-06-14 Thread imcs ee
do u really need read something even when you run the scripts2.py directly? why not just change script2.py to #script2.py if __name__ == "__main__": x=sys.stdin.read() print 'passed' else: print 'passed from else branch' is it what you want? or anything i misunderstand. On 14 Jun 20

Re: [OT] Re: Python open proxy honeypot

2006-06-14 Thread imcs ee
On 13 Jun 2006 15:09:57 -0700, Serge Orlov <[EMAIL PROTECTED]> wrote: > Alex Reinhart wrote: > My spam folder at gmail is not growing anymore for many months (it is > about 600-700 spams a month). Have spammers given up spamming gmail.com > only or is it global trend? Gmail said "messages that have

Re: daily python url - gmane links dead?

2006-06-13 Thread imcs ee
same error here. On 6/14/06, K.S.Sreeram <[EMAIL PROTECTED]> wrote: > Is it just me.. or are all the gmane links on daily-python dead? > All the c.l.py.announce entries point to gmane, and none of them seem to > be working. This is the error i get on gmane: > > Warning: fsockopen(): unable to conn

Re: .py and running in Windows:

2006-06-13 Thread imcs ee
i modify "C:\Python\python.exe" -i "%1" %* to cmd /k;"C:\Python\python.exe" -i "%1" %* or cmd /k;"C:\Python\python.exe" "%1" %*   just a little trick.  On 13 Jun 2006 06:48:23 -0700, Iain King <[EMAIL PROTECTED]> wrote: Andrew Gwozdziewycz wrote:> You'll have better results posting this to it'

Re: Python editor recommendation.

2006-05-09 Thread imcs ee
free and vim or wingide On 5/9/06, DeepBlue <[EMAIL PROTECTED]> wrote: Hi all,Can any one please recommend me an editor for coding Python. Thank u.I have Komodo ( www.activestate.com) in my mind. Is the editor any good?regards.--http://mail.python.org/mailman/listinfo/python-list -- http://mail.p