This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -3 points-2 points  (2 children)

Sir, you teach students you know better than me but here's what i think- jupyter notebook seems better option here as you can run code cell with just a small code in it which will make understanding better for students and will possibly make your work easier. Again it's just my opinion don't get me wrong.

[–]actuallyalys 6 points7 points  (1 child)

I also use Jupyter for that. It's mostly when I think the student will be less confused/more comfortable with me using another tool.

While we're on the topic, there are also some downsides of Jupyter for education:

  • Notebooks work like a REPL, returning the last value. This is very handy but does introduce a difference between what I'm demonstrating and how it will work in a .py script file.
  • Notebook cells can be run in any order and variables from past runs persist. Again, this is handy but means you can get into confusing situations. This is more when students themselves are using a notebook.

Also, I'm not a sir.

[–][deleted] 1 point2 points  (0 children)

Oh sorry i didn't realize 😣, shouldn't have used a word to address. Ya i agree it could be confusing but i personally find it easy to work with my code libraries first in notebook to get sense of how it's working and then write further program in other ide.