Re: To run a python script in all the machines from one server

2006-03-28 Thread jao
Quoting [EMAIL PROTECTED]: > >Yogi> I want to run a python script in all the machines that are >Yogi> connected through local network and collect the information about >Yogi> that machine such as HDD size, RAM capacity(with number of slots) >Yogi> ,processer speed etc. > >Yogi>

Re: using PyShell, or other shells?

2006-03-08 Thread jao
Quoting John Salerno <[EMAIL PROTECTED]>: > I'm interested in trying out shells other than IDLE, and I found > PyShell, but I'm not sure how to get it exactly. Is there a way to get > it without installing wxPython, or is it a part of it? I can't find much > reference to it in any of the manuals a

Re: Rounding up to the nearest exact logarithmic decade

2006-02-28 Thread jao
Quoting Derek Basch <[EMAIL PROTECTED]>: > Given a value (x) that is within the range (1e-1, 1e7) how do I round > (x) up to the closest exact logarithmic decade? For instance: How about this: def roundup(x): if x < 1: return 1 else: return '1' + ('0' * len(str(int(x

Re: distutils setup ignoring scripts

2005-03-15 Thread jao
Quoting Raseliarison nirinA <[EMAIL PROTECTED]>: > Jack wrote: > > No, I'm referring to bin/foobar, as specified > > in "scripts = ['bin/foobar']". > > yes i'm deadly wrong and should refuse the > temptation to guess! > and ougth to read clearly the post. > so, you want the script foobar inclu

Re: distutils setup ignoring scripts

2005-03-15 Thread jao
Quoting Raseliarison nirinA <[EMAIL PROTECTED]>: > "Jack Orenstein" wrote: > > > I'm using Python 2.2 on RH9. I have a set of Python modules > > organized > > into a root package and one other package named foobar. setup.py > > looks > > like this: > > > > from distutils.core import setup >