On Nov 22, 12:17 am, Noam Yorav-Raphael <
noamr...@gmail.com> wrote:
> Hello,
>
> There is no command-line option to do that, but you can set any code
> to be run at startup, in Edit->Preferences->Shell.
>
> You can of course run "execfile(filename)" in the beginning of your
> session. I think it should work just as well as a command line option.
I saw that option, but neither that nor execfile is adequate. The
"set code to run on startup" is obviously not a general solution,
since I don't want to set one global block of code to always run; I
want to specify at each launch which code to run.
The key thing is that I want to be able to call dreampie from a text
editor that lets me use a "run" option -- that is, use it instead of
the regular python interpreter (or IDLE) to run my code. I can only
do that if I can specify code to run on a per-use basis.
Thanks.