comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Calling a Python script from IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Calling a Python script from IDL [message #40059 is a reply to message #40003] Sun, 11 July 2004 15:54 Go to previous messageGo to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
>> Is there a way to call a Python script from within IDL and have it
>> return information to the IDL program? (Python is an object-oriented
>> scripting language similar to perl and java). I'm working on
>> visualizing huge amounts of data in an IDL widget, and a python script
>> to parse through this data is already in existance.
>> Thanks,
>> Leslie Welser

You could open a python process with SPAWN and then use shared memory to
send data between the processes. Since you're working on "huge amounts
of data," shared memory would probably be the easiest way to go. The
gotcha to this is that you will probably have to be careful how you
read/write data to the shared memory to make sure that values are
converted between IDL and Python correctly. Don't know if that helps or
not. Happy trails,

-Mike
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: FFT Exasperation
Next Topic: Re: FFT Exasperation

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 06:30:57 PDT 2025

Total time taken to generate the page: 0.06795 seconds