scripts\lowerdir\lowerdir.py
>>>
As long as you have sys imported at somepoint, then all you
have to do is print sys.argv[0], and that should be the exact name and
location of the current running script,
David
--- On Fri, 2/5/10, Daniel Sarmiento wrote:
From: Daniel Sarmiento
Su
ir\lowerdir.py
>>>
As long as you have sys imported at somepoint, then all you have to do is print
sys.argv[0], and that should be the exact name and location of the current
running script,
David
--- On Fri, 2/5/10, Daniel Sarmiento wrote:
From: Daniel Sarmiento
Subject: Re: [Tu
t;>>>>
>>>>>>> it returns the name of the path
>>>>>
>>>>> On Fri, Feb 5, 2010 at 4:13 PM, David Hutto >>>> >wrote:
>>>>>
>>>>> Junk Score: 2 out of 10 (below your Auto Allow threshold<
>>>>&g
Date: Fri, 5 Feb 2010 17:43:37 +0530
From: Spoorthi
To: "Rohit Roger$"
Cc: tutor
Subject: Re: [Tutor] python function to know the path of the program
in execution *
Message-ID:
<6c9f52051002050413o57bd76bax7ac5986b17304...@mail.gmail.com>
Content-
t;> Block
>>>>> sender <https://www.boxbe.com/anno?tc=1529381613_418589136&disp=b> | Block
>>>>> domain <https://www.boxbe.com/anno?tc=1529381613_418589136&disp=b&dom>
>>>>>
>>>>>
>>>>>
>>>&
nno?tc=1529381613_418589136> |
>>>> Block sender<https://www.boxbe.com/anno?tc=1529381613_418589136&disp=b>|
>>>> Block
>>>> domain <https://www.boxbe.com/anno?tc=1529381613_418589136&disp=b&dom>
>>>>
>>>>
>>&g
ning>)
>>> | Approve sender <https://www.boxbe.com/anno?tc=1529381613_418589136> |
>>> Block
>>> sender <https://www.boxbe.com/anno?tc=1529381613_418589136&disp=b> | Block
>>> domain <https://www.boxbe.com/anno?tc=1529381613_418589136&disp=b&
.com/anno?tc=1529381613_418589136&disp=b> | Block
>> domain <https://www.boxbe.com/anno?tc=1529381613_418589136&disp=b&dom>
>>
>>
>>
>> --- On *Fri, 2/5/10, nikunj badjatya * wrote:
>>
>>
>> From: nikunj badjatya
>> Subject: [Tutor]
i, 2/5/10, nikunj badjatya * wrote:
>
>
> From: nikunj badjatya
> Subject: [Tutor] python function to know the path of the program in
> execution
> To: tutor@python.org
> Date: Friday, February 5, 2010, 5:08 AM
>
> Hi ,
> Is there any python function to know the path of t
--- On Fri, 2/5/10, nikunj badjatya wrote:
From: nikunj badjatya
Subject: [Tutor] python function to know the path of the program in execution
To: tutor@python.org
Date: Friday, February 5, 2010, 5:08 AM
Hi ,
Is there any python function to know the path of the python program under
Hi ,
Is there any python function to know the path of the python program under
execution.?
If someone executes a program , he should come to know the path of the
program..!!
ex. suppose a user ABC is running prog.py which is in ~ directory, the user
currently is in XYZ directory.
[ a...@localhost X
11 matches
Mail list logo