Re: Network Module

2008-01-01 Thread Matthew Franz
g and search at pythonorg but couldn't find any. > > Thanks > Sunil Kumar Ghai > > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Matthew Franz http://www.threatmind.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Performance on local constants?

2007-12-27 Thread Matthew Franz
Thanks, that makes more sense. I got tripped up by the function returning a function thing and (for a while) thought _ was some sort of spooky special variable. - mdf > On Dec 28, 7:53 am, "Matthew Franz" <[EMAIL PROTECTED]> wrote: > > I get class Searcher(object) but

Re: Performance on local constants?

2007-12-27 Thread Matthew Franz
I get class Searcher(object) but can't for the life of me see why (except to be intentionally obtuse) one would use the def searcher(rex) pattern which I assure you would call with searcher(r)(t) right? - mdf > > > > 'Most flexible' in a different way is > > > > def searcher(rex): > > crex =

Re: Curious UnboundLocalError Behavior

2007-03-01 Thread Matthew Franz
, because that wasn't the behavior I wanted either.Thanks for the help. - mdf On 1 Mar 2007 00:20:05 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On 28 fév, 18:15, "Matthew Franz" <[EMAIL PROTECTED]> wrote: > > I'm probably fundamentally misunders

Curious UnboundLocalError Behavior

2007-02-28 Thread Matthew Franz
k.local', '8.8.5', 'Darwin Kernel Version 8.8.5: Mon Dec 11 19:39:17 PST 2006; root:xnu-792.16.5.obj~1/RELEASE_I386', 'i386') 2.4.3 (#1, Feb 24 2007, 23:01:32) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] {'__builtins__': , '__file__': 'unboundlocal.py', 'SOMEGLOBAL': 1, 'sys': , '__name__': '__main__', 'foo': , 'os': , '__doc__': None} SOMEGLOBAL: 0 -- Matthew Franz http://www.threatmind.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: python linux distro

2007-02-08 Thread Matthew Franz
> thanks guys > > when i wrote this, i thought that out there is some crazy guy like me. > i was hoping for more support but after these arguments, there is > nothing more then to say:you are right. the world doesnt need another > distro. but if one day I mange to do it, hope you will be glade that

Re: Create a cookie with cookielib

2007-02-03 Thread Matthew Franz
he code of cookie.php that i've create for this example: > > setcookie("user", "Alex Porter", time()+3600); > ?> > // Print a cookie > echo $_COOKIE["user"]; > // A way to view all cookies > print_r($_COOKIE); > ?> > > if anyone could help... Thank you > -- > http://mail.python.org/mailman/listinfo/python-list > -- Matthew Franz http://www.threatmind.net/ -- http://mail.python.org/mailman/listinfo/python-list