Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29578 > unrolled thread
| Started by | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| First post | 2012-09-20 22:47 +0100 |
| Last post | 2012-09-20 22:47 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: portable way of locating an executable (like which) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-20 22:47 +0100
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2012-09-20 22:47 +0100 |
| Subject | Re: portable way of locating an executable (like which) |
| Message-ID | <mailman.975.1348177656.27098.python-list@python.org> |
On 20/09/2012 22:06, Gelonida N wrote: > I'd like to implement the equivalent functionality of the unix command > /usr/bin/which > > The function should work under Linux and under windows. > > Did anybody already implement such a function. Searching found nothing obvious to me :( > If not, is there a portable way of splitting the environment variable PATH? With os.sep ? > > Thanks for any sugestions > > -- Cheers. Mark Lawrence.
Back to top | Article view | comp.lang.python
csiph-web