官术网_书友最值得收藏!

  • Learning Jupyter 5
  • Dan Toomey
  • 369字
  • 2021-08-13 15:42:08

New text file

If we opt to create a Text File, we are presented with a new browser panel in the Jupyter text editor (I have shrunk down the size of the screen so that the display fits the boundaries of this book):

There are several points of interest on this screen:

  • We are in a new browser panel (the Notebook display is still present in the Other tab).
  • The name of the new file is untitled1.txt. Using the same convention as duplication, the new filename starts with untitled.txt and is incremented as needed.
  • Curiously, it mentions when the file was created.
  • In the top-right corner, we see Plain Text. So, we might expect to see some other description here for other file types.
  • We have a new menu, which includes File, Edit, View, and Language.
  • The File menu has the following options:
    • New: Starts another new text window.
    • Save: Save or updates the current text file into the Notebook area.
    • Rename: Changes the name of the file (unlikely, as you would want to keep the untitledn name that's provided).
    • Download: Again, an option that makes more sense if your Notebook is running on the web. As explained for uploaddownload on a desktop installation allows you to copy a file to another part of your machine.

  • The Edit menu has the following options:
    • Find: Searches for a string.
    • Find & Replace: Searches and replaces a string.
    • Separator: Below this line is adjusting the text editor in use.
    • Key Map: Set your own function mapping for your keyboard.
    • Default: Checked as it is the default choice. This means using the default text editor.
    • Sublime Text: If you would prefer to use the Sublime editor.
    • Vim: If you would prefer to use VIM.
    • emacs: If you would prefer to use emacs.
  • The View menu only has an option to Toggle Line Numbers. I imagine future revisions of the package will have additional features. Similarly, for other file types, the menu may change.
  • The Language menu allows you to specify whether this text file is a specific type of programming file. This allows for syntax highlighting, which is a major feature of source editors. The list is extensive:
主站蜘蛛池模板: 广汉市| 沾化县| 五河县| 固安县| 营山县| 德惠市| 肃宁县| 苏尼特左旗| 陆良县| 清徐县| 浦城县| 勐海县| 瑞昌市| 阳城县| 霍城县| 崇信县| 永川市| 新余市| 台南县| 双柏县| 资源县| 定兴县| 田阳县| 瑞安市| 莱阳市| 四平市| 榕江县| 晋州市| 长岭县| 长泰县| 咸宁市| 祁连县| 五莲县| 花莲县| 连云港市| 巴林左旗| 岳西县| 九寨沟县| 垦利县| 河源市| 攀枝花市|