import os no longer working in .py files?
Posted by
Snider, Kaitlin on
Aug 14, 2014; 6:08pm
URL: http://imagej.273.s1.nabble.com/import-os-no-longer-working-in-py-files-tp5009213.html
I updated today (first time in about a week) and immediately thereafter realized my "batch" macros are broken. I use .py macros to extract file names to run a function on all of the image files in a folder, and this requrires "import os." "import os" no longer finds an os module. Is this deleted and needs replaced? If so, where can I find it and where does it go? Or is this a change in IJ2 that no longer allows os-module python macros? If that's the case, any great sample batch macros in the IJ Macro language that you could refer me to?
Thanks very much :)
Kaitlin Snider
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html