<br><br><div class="gmail_quote">On Wed, Aug 8, 2012 at 2:31 PM, Fernando Perez <span dir="ltr"><<a href="mailto:fperez.net@gmail.com" target="_blank">fperez.net@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Wed, Aug 8, 2012 at 2:29 PM, Thomas Kluyver <<a href="mailto:takowl@gmail.com">takowl@gmail.com</a>> wrote:<br>
> import IPython<br>
> IPython<br>
<br>
You mean on the second line<br>
<br>
IPython?<br>
<br>
which will print the import location on disk.<br></blockquote><div><br></div><div>assuming it's in an interactive session, just IPython will do, as the path is included in the repr for modules.</div><div>Of course, there's always `python -c 'import IPython; print (IPython.sys_info())'` for single-command full info.</div>
<div>It's all the same.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
<div class="HOEnZb"><div class="h5"><br>
f<br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</div></div></blockquote></div><br>