Issue
How do I rerun a script on the Spyder IPython console?
I have tried system('python abc.py')
but it runs on another console.
Edit: Nvm I found it.
import os
os.getcwd()
runfile('abc.py')
Solution
import os
os.getcwd()
runfile('abc.py')
Thanks, myself.
Answered By - gongetout
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.