Re: how to make a LAN game using python?

2005-05-06 Thread Peter Hansen
flyaflya wrote: > I want make a desktop game suports LAN connect, but pygame has nothing > about network.How to let pygame suport LAN connect? have you some > examples or articles about LAN connect? Pygame wouldn't bother supporting that, since it's already fully supported by standard Python, a

Re: hard memory limits

2005-05-06 Thread Bengt Richter
On Sat, 07 May 2005 11:08:31 +1000, Maurice LING <[EMAIL PROTECTED]> wrote: >James Stroud wrote: > >> Sorry Maurice, apparently in bash its "ulimit" (no n). I don't use bash, so >> I >> don't know all of the differences offhand. Try that. >> >> James > >Thanks guys, > >It doesn't seems to help.

Re: how to make a LAN game using python?

2005-05-06 Thread Terry Reedy
"flyaflya" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I want make a desktop game suports LAN connect, but pygame has nothing > about network.How to let pygame suport LAN connect? have you some > examples or articles about LAN connect? The discussions on the pygame mailing list

Re: Reference to self not passed to member function

2005-05-06 Thread Bengt Richter
On Sat, 7 May 2005 01:06:31 +0200, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote: >James Stroud wrote: > >> I did this: >> >> py> class bob(object): >> ... def __init__(self,**kwargs): >> ... for fname,func in kwargs.items(): >> ... setattr(self, fname, lambda *args : func(*args)) >> ... >

Listening to changes in a C++ variable from python

2005-05-06 Thread lamthierry
Let's say I have the following source code in C++: // The following is in a .cpp file int val = 0; for ( int i = 0; i < 10; i++ ) val = i; // Now I'm in a python GUI, glade or GTK Is it possible from the GUI side to listen to changes in the val variable? Once I notice a change in the variabl

Re: hard memory limits

2005-05-06 Thread John Machin
On Sat, 07 May 2005 02:29:48 GMT, [EMAIL PROTECTED] (Bengt Richter) wrote: >On Sat, 07 May 2005 11:08:31 +1000, Maurice LING <[EMAIL PROTECTED]> wrote: >> >>It doesn't seems to help. I'm thinking that it might be a SOAPpy >>problem. The allocation fails when I grab a list of more than 150k >>ele

Re: hard memory limits

2005-05-06 Thread Maurice LING
John Machin wrote: > On Sat, 07 May 2005 02:29:48 GMT, [EMAIL PROTECTED] (Bengt Richter) wrote: > > >>On Sat, 07 May 2005 11:08:31 +1000, Maurice LING <[EMAIL PROTECTED]> wrote: >> >>>It doesn't seems to help. I'm thinking that it might be a SOAPpy >>>problem. The allocation fails when I grab a

Re: Listening to changes in a C++ variable from python

2005-05-06 Thread Jeremy Bowers
On Fri, 06 May 2005 19:56:34 -0700, lamthierry wrote: > Let's say I have the following source code in C++: > > // The following is in a .cpp file > > int val = 0; > for ( int i = 0; i < 10; i++ ) >val = i; > > > // Now I'm in a python GUI, glade or GTK > Is it possible from the GUI side to

Found python for delphi new web site

2005-05-06 Thread could ildg
http://mmm-experts.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Found python for delphi new web site

2005-05-06 Thread James
It has been around for a while now. But I am glad I visited it again. The new PyScripter IDE is great. They should really announce new software like these here. -- http://mail.python.org/mailman/listinfo/python-list

Re: Found python for delphi new web site

2005-05-06 Thread could ildg
I haven't compile the PyScripter IDE project yet. Does it support code-insight? On 6 May 2005 22:28:59 -0700, James <[EMAIL PROTECTED]> wrote: > It has been around for a while now. But I am glad I visited it again. > The new PyScripter IDE is great. They should really announce new > software like

Re: New Python regex Doc (was: Python documentation moronicities)

2005-05-06 Thread Xah Lee
erratum: the correct URL is: http://xahlee.org/perl-python/python_re-write/lib/module-re.html Xah [EMAIL PROTECTED] รข http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Reg strip_tags function in Python.

2005-05-06 Thread praba kar
Dear All, In Php I can use strip_tags() function to strip out all html tags. I want to know that strip_tags() equivalent function in Python. regards praba Yahoo! India Matrimony: Find your life partner online Go to: http:

Re: Found python for delphi new web site

2005-05-06 Thread James
I didn't either since it needs some components to be installed. I will surely try playing with the source. It should be a lot easier to customerize than other IDEs. I just installed the binary http://mmm-experts.com/Downloads.aspx?ProductId=4 It does have code insight in the interpreter, but not

Array programming

2005-05-06 Thread V.C.Sekhar
Hi there, I couldnt get to do the following task using Python. Can some pls suggest me a way to do this. I have an array with duplicate strings filled in it. Now am looking for a way to extract only the DISTINCT Values from that array. Could some one pls help me out. Thanks in advance, Sekh

Re: Array programming

2005-05-06 Thread Sakesun Roykiattisak
V.C.Sekhar wrote: >Hi there, > I couldnt get to do the following task using Python. Can some pls >suggest me a way to do this. > >I have an array with duplicate strings filled in it. Now am looking for >a way to extract only the DISTINCT Values from that array. > >Could some one pls help me ou

<    1   2