PyNio

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.

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 tutor-request@...48... 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 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 <dyahrm09@...287...>:

···

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
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

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 tutor-request@...48... 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

···

On Fri, Jul 4, 2014 at 10:07 AM, Dino Bektešević <ljetibo@...985.....> wrote:

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 <dyahrm09@...287...>:
> 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
> Matplotlib-users@lists.sourceforge.net
> 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
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Perhaps Anaconda would be best for an easy to install environment and much of the commonly used scientific computing tools?
http://continuum.io/downloads

As for PyNIO, due to licensing issues, it isn’t installable through pip or easy_install. If you go to their website and create a free account, you can get an installer that would work fine out of the box, but I have never tried to install PyNIO in an Anaconda environment.

https://www.pyngl.ucar.edu/Download/install_from_binary.shtml

As for “reading” IDL from python, no such thing exists AFAIK. I have come across this tool: https://code.google.com/p/i2py/. I have never used it (luckily), so I can’t vouch for its usefulness. The goal of i2py is not to be a one-to-one converter of IDL code into python, but rather to be an assistant when migrating an IDL codebase into Python. The human still has to go over the resulting code and make it valid. The most important thing for the code migration is to start with unit tests in IDL, and then have identical unit tests in python. This helps to make sure all of the code is doing exactly what you expect them to do before and after code migration.

Best of luck to you!

Ben Root

···

On Fri, Jul 4, 2014 at 11:42 AM, <josef.pktd@…287…> wrote:


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

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

On Fri, Jul 4, 2014 at 10:07 AM, Dino Bektešević <ljetibo@…287…> 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 tutor-request@…48… 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_installing 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 <dyahrm09@…287…>:

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

Matplotlib-users@lists.sourceforge.net

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

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users