Hi Todd,

yeah, this should work:

*import sys*
*print sys.executable*


Cheers, Martin
--
       Martin Chatterjee

[ Freelance Technical Director ]
[   http://www.chatterjee.de   ]
[ https://vimeo.com/chatterjee ]

On Mon, Jun 1, 2015 at 6:33 PM, Todd Widup <[email protected]> wrote:

> is there a way to find out what program called the python script that is
> running?
>
> IE, if its running in Maya, Soft, Houdini, idle, or something else even.
>
> thanks
> -todd
>
> --
> Todd Widup
> Creature TD / Technical Artist
> [email protected]
> [email protected]
> www.toddwidup.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CABBPk361T%2BE%2BMyP4VGnz-Xv%2B3b_ONDpCTJSmw7TDJ%3D5FwEuS8g%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CABBPk361T%2BE%2BMyP4VGnz-Xv%2B3b_ONDpCTJSmw7TDJ%3D5FwEuS8g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAC%2B%2B27J12WW%2BbSbng7QZ2Hku4t_PFUwPv5Rw0zrzuKDb-6M5_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to