>> Why not just modify sys.path within the actual script?
>
> Maybe because he has multiple versions of modules he wants to test his
> script against.
See the original post: 'I can use it as "#!/usr/bin/perl
-I"' so clearly his intention is modify
the script.
Martin
--
http://mail.python.org/m
Antoon Pardon <[EMAIL PROTECTED]> writes:
> On 2007-04-27, James Stroud <[EMAIL PROTECTED]> wrote:
> > Rajesh wrote:
> >> Hi,
> >>
> >> The '-I' option adds the path to the list of directories that
> >> contains modules that can be included in a script. I can use it as "#!/
> >> usr/bin/perl -I"
On 2007-04-27, James Stroud <[EMAIL PROTECTED]> wrote:
> Rajesh wrote:
>> Hi,
>>
>> The '-I' option adds the path to the list of directories that
>> contains modules that can be included in a script. I can use it as "#!/
>> usr/bin/perl -I" thereby not asking the user of
>> the script to set the
> The '-I' option adds the path to the list of directories that
> contains modules that can be included in a script. I can use it as "#!/
> usr/bin/perl -I" thereby not asking the user of
> the script to set the in their environment.
>
> Is there any equivalent command-line option to the python b
Rajesh wrote:
> Hi,
>
> The '-I' option adds the path to the list of directories that
> contains modules that can be included in a script. I can use it as "#!/
> usr/bin/perl -I" thereby not asking the user of
> the script to set the in their environment.
>
> Is there any equivalent command-line
Hi,
The '-I' option adds the path to the list of directories that
contains modules that can be included in a script. I can use it as "#!/
usr/bin/perl -I" thereby not asking the user of
the script to set the in their environment.
Is there any equivalent command-line option to the python binary o