# Embed a Jupyter Notebook in fortran-lang.org/learn

**URL:** <https://fortran-lang.discourse.group/t/embed-a-jupyter-notebook-in-fortran-lang-org-learn/724>\
**Category:** Uncategorized\
**Created:** [February 17, 2021, 1:51am UTC](https://fortran-lang.discourse.group/t/embed-a-jupyter-notebook-in-fortran-lang-org-learn/724 "2021-02-17T01:51:34Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![alozada](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/alozada/32/298_2.png) [@alozada](https://fortran-lang.discourse.group/u/alozada)\
**Post date:** [February 17, 2021, 1:51am UTC](https://fortran-lang.discourse.group/t/embed-a-jupyter-notebook-in-fortran-lang-org-learn/724/1 "2021-02-17T01:51:34Z")

</div>

I have read about the compiler LFortran, the description given by @certik and in [https://docs.lfortran.org/](https://docs.lfortran.org/), and I would like to propose, if feasible, the embed of a Jupyter Notebook in the Learn section of the website ([fortran-lang.org/learn](http://fortran-lang.org/learn)).

This, together with the documentation available in this section, would allow for an interactive tutorial on the website.

---

<div class="post-metadata">

**Author:** ![Beliavsky](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@Beliavsky](https://fortran-lang.discourse.group/u/Beliavsky)\
**Post date:** [February 17, 2021, 2:31am UTC](https://fortran-lang.discourse.group/t/embed-a-jupyter-notebook-in-fortran-lang-org-learn/724/2 "2021-02-17T02:31:08Z")

</div>

One can also try an online Fortran compiler at a site such as [TutorialsPoint](https://www.tutorialspoint.com/compile_fortran_online.php). Just type the code, click “execute”, and see the output. Fortran is a scripting language 🙂 . (I know there is a serious effort to achieve this.)

---

<div class="post-metadata">

**Author:** ![vmagnin](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/vmagnin/32/28_2.png) [@vmagnin](https://fortran-lang.discourse.group/u/vmagnin)\
**Post date:** [February 17, 2021, 8:20am UTC](https://fortran-lang.discourse.group/t/embed-a-jupyter-notebook-in-fortran-lang-org-learn/724/3 "2021-02-17T08:20:33Z")

</div>

Fortran is also available in:

- [https://www.onlinegdb.com/](https://www.onlinegdb.com/)
- [https://godbolt.org/](https://godbolt.org/)
- [https://www.jdoodle.com/execute-fortran-online/](https://www.jdoodle.com/execute-fortran-online/)

---

<div class="post-metadata">

**Author:** ![certik](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/certik/32/4_2.png) [@certik](https://fortran-lang.discourse.group/u/certik)\
**Post date:** [February 18, 2021, 2:23am UTC](https://fortran-lang.discourse.group/t/embed-a-jupyter-notebook-in-fortran-lang-org-learn/724/4 "2021-02-18T02:23:21Z")

</div>

Thanks for the suggestion. We are making steady progress with LFortran and I think this year we’ll be able to compile enough of Fortran to be able to write tutorials in a notebook and include it.

---

<div class="post-metadata">

**Author:** ![billlong](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@billlong](https://fortran-lang.discourse.group/u/billlong)\
**Post date:** [February 18, 2021, 12:51pm UTC](https://fortran-lang.discourse.group/t/embed-a-jupyter-notebook-in-fortran-lang-org-learn/724/5 "2021-02-18T12:51:12Z")

</div>

Note that the Ju and py in Jupyter stand for Julia and Python. If Fortran was included, maybe the name should be changed to Jupyfor. (This might also help with the problem that CS people can no longer spell the name of the largest plant in the solar system.)

---

<div class="post-metadata">

**Author:** ![certik](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/certik/32/4_2.png) [@certik](https://fortran-lang.discourse.group/u/certik)\
**Post date:** [February 18, 2021, 3:03pm UTC](https://fortran-lang.discourse.group/t/embed-a-jupyter-notebook-in-fortran-lang-org-learn/724/6 "2021-02-18T15:03:02Z")

</div>

The original author of Jupyter is [Fernando Pérez](https://bids.berkeley.edu/people/fernando-p%C3%A9rez) who is a proponent of Fortran and has always supported LFortran as well as our wider efforts at fortran-lang, see for example his recent tweet:

> <https://twitter.com/fperez_org/status/1341106164323373056>
>
> Milan Curcic @realmilancurcic

The original author of Python is [Guido van Rossum](https://gvanrossum.github.io/) who is also a supporter of Fortran, as evidenced by his recent tweet:

> <https://twitter.com/gvanrossum/status/1334716550276816897>

So we have the support of all the important people that we need and the door is open for Fortran. The rest is on us to walk through the open door. We have to do the work, and that is exactly what we are doing.

---

<div class="post-metadata">

**Author:** ![milancurcic](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/milancurcic/32/2_2.png) [@milancurcic](https://fortran-lang.discourse.group/u/milancurcic)\
**Post date:** [February 18, 2021, 3:56pm UTC](https://fortran-lang.discourse.group/t/embed-a-jupyter-notebook-in-fortran-lang-org-learn/724/7 "2021-02-18T15:56:23Z")

</div>

> [@billlong](#):
>
> Note that the Ju and py in Jupyter stand for Julia and Python. If Fortran was included, maybe the name should be changed to Jupyfor.

I like it but it would step on R’s toes:

Jupyter ← Ju-Pyt-R ← Julia, Python, and R

---

<div class="post-metadata">

**Author:** ![billlong](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@billlong](https://fortran-lang.discourse.group/u/billlong)\
**Post date:** [February 18, 2021, 4:28pm UTC](https://fortran-lang.discourse.group/t/embed-a-jupyter-notebook-in-fortran-lang-org-learn/724/8 "2021-02-18T16:28:15Z")

</div>

Argh, you are right, I’d forgotten about R . (I’m waiting for a Python package for the R functionality to take over and kill off R as a separate entity.) Even so, Jupyfor still ends in R so I think we’re safe.

---

<div class="post-metadata">

**Author:** ![vmagnin](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/vmagnin/32/28_2.png) [@vmagnin](https://fortran-lang.discourse.group/u/vmagnin)\
**Post date:** [April 26, 2021, 4:12pm UTC](https://fortran-lang.discourse.group/t/embed-a-jupyter-notebook-in-fortran-lang-org-learn/724/9 "2021-04-26T16:12:06Z")

</div>

An interactive LFortran will surely help to promote Fortran. I have just begun reading the book [GNU Octave by Example - A Fast and Practical Approach to Learning GNU Octave](https://www.apress.com/gp/book/9781484260852), and in the introduction chapter I read:

> The GNU Octave Project started in 1988 as a companion for a textbook that was under development for chemical engineering undergraduate students. This was done after the faculty members observed that chemical engineering students were spending a lot of time debugging FORTRAN issues, which was used for their programming exercises.

---

<div class="post-metadata">

**Author:** ![FortranFan](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@FortranFan](https://fortran-lang.discourse.group/u/FortranFan)\
**Post date:** [April 26, 2021, 4:31pm UTC](https://fortran-lang.discourse.group/t/embed-a-jupyter-notebook-in-fortran-lang-org-learn/724/10 "2021-04-26T16:31:28Z")

</div>

> [@milancurcic](#):
>
> > [@billlong](#):
> >
> > Note that the Ju and py in Jupyter stand for Julia and Python. If Fortran was included, maybe the name should be changed to Jupyfor.
> 
> I like it but it would step on R’s toes:
> 
> Jupyter ← Ju-Pyt-R ← Julia, Python, and R

Well, one could consider **JuPytRan**! 🙂

---

<div class="post-metadata">

**Author:** ![billlong](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@billlong](https://fortran-lang.discourse.group/u/billlong)\
**Post date:** [April 26, 2021, 7:15pm UTC](https://fortran-lang.discourse.group/t/embed-a-jupyter-notebook-in-fortran-lang-org-learn/724/11 "2021-04-26T19:15:16Z")

</div>

Yeah, I was hoping the r at the end of Jupyfor would satisfy the R people. The other three languages got their first 2 letters, and R, having only 1 letter, stays at the end with just 1 letter.
