简体   繁体   中英

Jupyter notebook "download as python"

I've been searching everywhere for this but somehow I can't seem to find it.

If you download code from Jupyter notebook and download it as python (.py),

then does the computer create a windows notepad for the .py file? (Yes I'm using windows not mac)

This is a pretty simple question but I really wish to know if this is a normal thing for windows...

When I download code in Jupyter notebook as python (.py), it is downloaded as a notepad.

Is this what it's supposed to do??

The problem is your default application for files is set as Notepad in windows. That's why it shows to open with Notepad. Since the file comes with *.py extension it will also consider to open in notepad because ultimately *.py is a file type. You can try open with option to open your favorite python editor to work on the file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM