Timeline for Doubts on scripting: error messages when trying to run and how to process lots of files
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 2, 2013 at 19:11 | comment | added | Eric Brown | @rm-rf He only has hundreds, so I guess he should do it in the front end ;-) | |
| Jul 2, 2013 at 18:54 | comment | added | rm -rf♦ | @EricBrown OP said: "I have created my first mathematica 'program'..." — I would assume that for someone with a perl/python background, using a script is probably what comes to mind first, since the notebook interface is "new" and "different". That's why I suggested that they try to do it in the FE and just map the function onto the list of files with the caveat that they use the command line tools only if there are thousands of such files and it needs to be done in the bg. | |
| Jul 2, 2013 at 13:21 | comment | added | Eric Brown | Yves and rm: He clearly states that he wants it scriptable. The front end may not be appropriate for his tasks. | |
| S Jul 2, 2013 at 12:40 | history | suggested | fcpenha | CC BY-SA 3.0 | Changed the title, because it was misleading. There was no question about "best practices on scripting". |
| Jul 2, 2013 at 11:35 | review | Suggested edits | |||
| S Jul 2, 2013 at 12:40 | |||||
| Mar 19, 2013 at 12:10 | comment | added | Yves Klett | Yes, any reason not to use the frontend? Setting $HistoryLength=0 is your friend in any case... | |
| Mar 18, 2013 at 19:57 | answer | added | cormullion | timeline score: 2 | |
| Mar 18, 2013 at 19:29 | comment | added | rm -rf♦ | If you have it working fine for 1 image, then the simplest solution would be to use FileNames to get a list of your image files and map your processing function on the list of files. Ditch the command line stuff for now (unless you have something on the order of thousands/millions of files and want to run it as a batch job in the background) | |
| Mar 18, 2013 at 19:25 | history | asked | ETM | CC BY-SA 3.0 |