lunduniversity / schoolprog

Programming exercises for primary and secondary education, in Swedish.
https://lunduniversity.github.io/schoolprog/
15 stars 6 forks source link

Choice of REPL/IDE #18

Closed ahnlabb closed 6 years ago

ahnlabb commented 6 years ago

We are currently using repl.it, in my opinion it fulfills our primary criteria:

However, some other features would be nice:

I think we should discuss this before we are completely invested in repl.it. Plotting is my foremost concern, can we do it with repl.it?

ErikBjare commented 6 years ago

You can plot with repl.it by saving the plot to a png file (which will show up in the file list).

Example: https://repl.it/@masonclayton/matplotlib-graph

ahnlabb commented 6 years ago

@ErikBjare silly of me to miss that, I even looked at that very example but didn't see where the file was created.

repl.it is probably our best bet then, the other things should not be necessary for basic programming education.

ahnlabb commented 6 years ago

For reference:

Both seem to me to have a bigger feature set (Skulpt has a slightly different scope) but might ultimately lack full python3 support and therefore not be viable alternatives.

ErikBjare commented 6 years ago

While we're on the topic, I'd like to write a guide for how to use PyCharm for those students that want a more realistic development environment.

amasad commented 6 years ago

Hey there, sorry to intrude, I got an alert for Repl.it's mention. Just wanted to say that plotting does work (although we don't do a good job exposing it) and lots of people use it for machine learning, data science, and other applications. Happy to help with any questions.

exoji2e commented 6 years ago

@amasad Right now we are plotting by saving a png-file with matplotlib.pyplot.savefig. Do you support some kind of popup-window as well?

amasad commented 6 years ago

@amasad Right now we are plotting by saving a png-file with matplotlib.pyplot.savefig. Do you support some kind of popup-window as well?

No, savefig is the best way to do it. Although we want to make it clear in the future for users that a new file appeared so that it kind of will work like a pop-up window.

gorelhedin commented 6 years ago

We need getting started guides for each online environment: Python-turtle, Python3, kojo-js.

gorelhedin commented 6 years ago

Good enough for now.