如何在 IJulia 中创建 .jl 文件

How to create .jl file in IJulia

我对 julia 很陌生。我刚刚安装了 ipython 和 Ijulia。但是每次我从 ipython notebook 保存我的文件时,保存文件的格式总是.ipynb。我不知道我是否可以将我的文件保存为 .jl 文件。或者谁能​​告诉我如何通过 ipython notebook 创建 .jl 文件。我用谷歌搜索过,但似乎没有人谈论它。

.ipynb是基于JSON的Jupyter notebook format, with conventions for storing code cells and associated metadata and data (such as inline images). Jupyter is designed as a fully-integrated interactive environment, not "just" a text editor, and as such the file format requires extra information. To create a .jl file, use a text editor or an ide such as Juno.