|
From: <jos...@gm...> - 2014-07-04 15:42:14
|
On Fri, Jul 4, 2014 at 10:07 AM, Dino Bektešević <lj...@gm...> wrote:
> Hello dydy,
>
> If you've never done programing in python I would recommend a book
> "dive into python" any version will do but the latest one is 3 I
> think. Asking this questions in tut...@py... will probably
> get you even further since they mainly deal with general python
> learning.
>
> Whatever you can use through command prompt you can use in python if
> you use import subprocess. Subprocess.call("command") calls whatever
> command you want over the command line. If you can call IDL to run
> files over command line this can be an option. If not you're going to
> have to use a wrapper tool like SWIG is foc c/c++ or another module to
> connect to IDL. A useful module here will usually be os as well.
>
> As for installations of modules under windows platforms, that's always
> tricky, I recommend using a virtualenv with pip, because then
> generally installing a module boils down to using "pip install". But
> even in virtualenv on windows I've had issues with installing i.e.
> matplotlib and found it impossible and I've had to install it
> system-wide by using one of the unofficial binary installers from:
> http://www.lfd.uci.edu/~gohlke/pythonlibs/ and from then I have to
> start start each virtualenv with the option --system-site-packages
> which kind of defeats the purpose of a virtualenv, but such is the
> nature of developing on win's....
> (I've read that you can activate local modules by hand, but I've not
> been able to reproduce it)
>
I never recommend pip to Windows users (at least not until everything is in
wheels).
The last few times I had no problem `easy_install`ing the matplotlib exe
installer in a virtualenv, nor any of the other exe installers.
(pip is for Linux users, I never found anything better than easy_install on
Windows.)
Josef
>
>
> I know this is a bunch of new info, I suggest you read up on it, best of
> luck,
> Dino
>
> 2014-07-04 3:05 GMT+02:00 dydy2014 <dya...@gm...>:
> > Hello all,
> >
> > I interested in python programming that is why I join in this forum.
> > I want to know how to install new module in my python program?. I use
> python
> > under windows OS.
> > Actually, I interest with PyNio but I don't know how to install it.
> > Another question is how to make other language, for example, IDL, can be
> > read in python?
> > Thank you....
> >
> > Dydy
> >
> >
> >
> > --
> > View this message in context:
> http://matplotlib.1069221.n5.nabble.com/PyNio-tp43610.html
> > Sent from the matplotlib - users mailing list archive at Nabble.com.
> >
> >
> ------------------------------------------------------------------------------
> > Open source business process management suite built on Java and Eclipse
> > Turn processes into business applications with Bonita BPM Community
> Edition
> > Quickly connect people, data, and systems into organized workflows
> > Winner of BOSSIE, CODIE, OW2 and Gartner awards
> > http://p.sf.net/sfu/Bonitasoft
> > _______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|