[BangPypers] Need help for python coding

Mandar Vaze / मंदार वझे mandarvaze at gmail.com
Fri Apr 19 08:56:27 CEST 2013

On Thu, Apr 18, 2013 at 6:34 PM, Rahul R <rahul8590 at gmail.com> wrote:
> os.path.realpath(__filename__)
> that should do the trick.

As much as I understand the requirement, Kamalakar wants to
"recognize" the path, then he needs some equivalent of "which" command
(for binaries) or "locate" for non-binaries

realpath didn't work for me when I tried "ipython" on linux for either
of the above requirements.


More information about the BangPypers mailing list