Hi, Effie.

I think you should be able to do this from a batch file easily.

Try this:

   cd "C:\dir_where_your_python is"
   python "C:\dir_where_your spyder is\Spyder-script.py"

Hope it helps,
D

On 6/5/2018 4:32 AM, Efoudi Chatzi wrote:
Hello,
I am relatively new with Spyder, but I haven't found a similar post in this group so hope you can help me. I want to start Spyder from a shell command in batch in order to execute a python script.
Is this possible?
I have found the -p option that load a project, but it does not open a file.

Thanks,
Effie
--
You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to