I would like to change working directory dynamically in
a script, to the location of the script (*without* knowing
where that is). Is there an easy way (for students)?
I realize they can change working directory in a shell
and set the gretl option to follow this. That's not what
Perhaps I'm looking for something like __file__ in Python
(e.g., a gretl string `scriptdir` that gretl would set when
running a script).