Re: Multiple instances of a python program

2005-06-17 Thread Rahul
Steven D'Aprano wrote: > On Thu, 16 Jun 2005 11:47:10 -0700, Rahul wrote: > > > Hi. > > I am part of a group in my univ where we organize a programming > > contest. In this contest we have a UDP based server. The server > > simulates a game and each contestant is to develop a team of virtual > > pl

Re: Multiple instances of a python program

2005-06-17 Thread Rahul
Hi. I will look into it..thanks rahul Jeremy Sanders wrote: > On Thu, 16 Jun 2005 11:47:10 -0700, Rahul wrote: > > > If you have a python script and you want that 75 copies of the script be > > run simultaneously how will you do it? Is there anyway to do so without > > running 75 copies of the pyt

Re: Multiple instances of a python program

2005-06-17 Thread Jeremy Sanders
On Thu, 16 Jun 2005 11:47:10 -0700, Rahul wrote: > If you have a python script and you want that 75 copies of the script be > run simultaneously how will you do it? Is there anyway to do so without > running 75 copies of the python interpreter simultaneously? If you're running on Linux (and other

Re: Multiple instances of a python program

2005-06-17 Thread Steven D'Aprano
On Thu, 16 Jun 2005 11:47:10 -0700, Rahul wrote: > Hi. > I am part of a group in my univ where we organize a programming > contest. In this contest we have a UDP based server. The server > simulates a game and each contestant is to develop a team of virtual > players. Each team is composed of 75 s

Re: Multiple instances of a python program

2005-06-17 Thread Rahul
Daniel Dittmar wrote: > Rahul wrote: > > Hi. > > I am part of a group in my univ where we organize a programming > > contest. In this contest we have a UDP based server. The server > > simulates a game and each contestant is to develop a team of virtual > > players. Each team is composed of 75 simi

Re: Multiple instances of a python program

2005-06-17 Thread Daniel Dittmar
Rahul wrote: > Hi. > I am part of a group in my univ where we organize a programming > contest. In this contest we have a UDP based server. The server > simulates a game and each contestant is to develop a team of virtual > players. Each team is composed of 75 similar bots...i.e. governed by > the

Re: Multiple instances of a python program

2005-06-17 Thread gatti
Most of the Python interpreter is a shared library, at least on Windows. The only duplication is in loaded Python code, which includes only your bot and the libraries it uses. If you have memory problems, try to do without some libraries or to edit unused parts out of them. Lorenzo Gatti -- http

Multiple instances of a python program

2005-06-16 Thread Rahul
Hi. I am part of a group in my univ where we organize a programming contest. In this contest we have a UDP based server. The server simulates a game and each contestant is to develop a team of virtual players. Each team is composed of 75 similar bots...i.e. governed by the same logic. Thus the cont