Last answered:

08 Mar 2022

Posted on:

08 Mar 2022

0

Cannot open .py file, instructions needed.

Please advise how I can open .py files in Spyder. Thank you

1 answers ( 0 marked as helpful)
Instructor
Posted on:

08 Mar 2022

0

Hey Mingyang,

Thank you for your question and engagement with the course!

One way to open a .py file in Spyder is to choose File > Open, then navigate to the folder where you have stored your file in, and then double-click to open it.
image.png
Another way is to simply drag the file from your folder and drop it into Spyder:
image.png
If you instead want to create a new .py file, then go to File > New file, or press Ctrl and N.
image.png
Hope this helps!

Kind regards,
365 Hristina

Submit an answer