Answer the question
In order to leave comments, you need to log in
python -i command with pythonstartup?
Hello.
I sometimes have a need to run a python script and stay in interactive mode, which is easily solved with the command python -i some_script.py, but it does not execute a normal pythonstartup script. I need to do both in sequence.
Is there a not too hacky (like adding pythonstartup imports directly to the script) solution to this issue?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question