[Paraview] Python modules.
Cook, Rich
cook47 at llnl.gov
Thu Apr 14 15:43:29 EDT 2011
I think you can modify PYTHONPATH, or certainly you can append to sys.path
import sys
sys.path.append("/home/me/mypy")
On Apr 14, 2011, at 12:32 PM, Jorge López wrote:
Dear All,
Is it possible to add python modules to my path? I am working with Mac OS X.
When I use the pvpthon command inside the Paraview folder and do "from paraview.simple import *" it works pretty good, but If I do from outside the Paraview folder does not work.
If anyone knows how to do this, please help.
Best Regards,
Jorge López
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue, Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110414/a23904ef/attachment-0001.htm>
More information about the ParaView
mailing list