开发者

Installing a module/script in Python on OSX

I am running Python 2.6.2 in Mac OSX 10.5.8.

I am trying to generate scientific graphs for a publication and am experimenting with python/matplotlib to do that. Varun Hiremath created a module called plot_settings.py (link text and I am trying to figure out how to install the module s开发者_运维问答o that I can import it. I'm not sure if easy_install is applicable here, which is why I'm confused. Thanks!


Put that file in the same folder as your script and import it: import plot_settings.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜