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

Home » Public Forums » archive » IDL in IPython notebooks
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: IDL in IPython notebooks [message #88957 is a reply to message #88694] Tue, 08 July 2014 03:18 Go to previous messageGo to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
Hi Mike,

this is all quite promising. I gave it a try and the problem in your
example seems related to the use of "s" as variable name. Changing "s"
to "ts" made it work for me. i.e:

%%idl
s = 'Hello world!'
print, s

prints: "Hello world!"

But on the next cell a simple:
$$idl
print, s

prints a long array

but:

%%idl
ts = 'Hello world!'

%%idl
print, ts

works as expected.

I also tried to convert pIDLy and idlmagic to python3 but it's still too
complicated for me as I am a python newbie...

Anyways, all this is quite exiting.

Cheers,

Fabien
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plotting the region of interest from satellite image
Next Topic: cgPlotS problem with NaN values in data

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

Current Time: Wed Oct 08 19:34:14 PDT 2025

Total time taken to generate the page: 0.00435 seconds