vasudevram wrote:
> Peter Wang wrote:
> > Michele Simionato wrote:
> > > The subject says it all, I would like a script to act differently when
> > > called as
> > > $ python script.py and when called as $ python -i script.py. I looked
> > > at the sys module
> > > but I don't see a way to retrie
Peter Wang wrote:
> Michele Simionato wrote:
> > The subject says it all, I would like a script to act differently when
> > called as
> > $ python script.py and when called as $ python -i script.py. I looked
> > at the sys module
> > but I don't see a way to retrieve the command line flags, where
> > Michele Simionato wrote:
> >> The subject says it all, I would like a script to act differently when
> >> called as
> >> $ python script.py and when called as $ python -i script.py.
[Michael B. Trausch]
> There is a set of utilities that have UNIX-like ps behavior, but, as is
> typical for Win
Peter Wang wrote:
> Michele Simionato wrote:
>> The subject says it all, I would like a script to act differently when
>> called as
>> $ python script.py and when called as $ python -i script.py. I looked
>> at the sys module
>> but I don't see a way to retrieve the command line flags, where should
Michele Simionato wrote:
> The subject says it all, I would like a script to act differently when
> called as
> $ python script.py and when called as $ python -i script.py. I looked
> at the sys module
> but I don't see a way to retrieve the command line flags, where should
> I look?
I realize th
On Thu, 2006-12-21 at 11:22 -0800, [EMAIL PROTECTED] wrote:
> Michele Simionato wrote:
> > The subject says it all, I would like a script to act differently when
> > called as
> > $ python script.py and when called as $ python -i script.py. I looked
> > at the sys module
> > but I don't see a way t
Michele Simionato wrote:
> The subject says it all, I would like a script to act differently when
> called as
> $ python script.py and when called as $ python -i script.py. I looked
> at the sys module
> but I don't see a way to retrieve the command line flags, where should
> I look?
In the optpar
Michele Simionato schrieb:
> The subject says it all, I would like a script to act differently when
> called as
> $ python script.py and when called as $ python -i script.py. I looked
> at the sys module
> but I don't see a way to retrieve the command line flags, where should
> I look?
> TIA,
>
>
The subject says it all, I would like a script to act differently when
called as
$ python script.py and when called as $ python -i script.py. I looked
at the sys module
but I don't see a way to retrieve the command line flags, where should
I look?
TIA,
Michele Simionato
--
http://mail.