r/learnpython • • Jul 12 '20

Jupyter Notebooks!

Jupyter Notebooks are the tool that turned the tables for me learning python. I'm just here to evangelize them. You can run your code line by line and debug as you go in a comfortable web browser interface. It's an excellent tool, and it made it so much more efficient to learn. Check it out.

425 Upvotes

127 comments sorted by

View all comments

138

u/Rhjensen79 Jul 12 '20

If you are into that, then look at Google Colab. It’s a hosted Jupyter Notebook. Personly i mostly use it, when i’m playing aound with new things, or when i am on my iPad.

37

u/ropenni Jul 12 '20

Colab is my API playground, it is so convenient when I don’t want to create new venvs in my machine

13

u/cubinx Jul 12 '20

Can you schedule scripts in google colab?

6

u/Rhjensen79 Jul 12 '20

As far as i know then no. Imho i would create in colab, and then run it schelduled in some FAAS service.

7

u/Cdog536 Jul 12 '20

when i am on my iPad

You can do python on the ipad?

12

u/Rhjensen79 Jul 12 '20

Google colab is browser based, and works well on the ipad. So yes.

3

u/megaSalamenceXX Jul 12 '20

Doesnt typing code on ipad get tedious?

4

u/Rhjensen79 Jul 12 '20

I use it when i’m away, and have a little bit of time to try stuff out. On a 11” ipad, it’s not perfect. Don’t know about the 12” thou.

5

u/megaSalamenceXX Jul 12 '20

Ah I play games on my ipad when I got free time. You are a far better human than me sir!

→ More replies (1)
→ More replies (4)

1

u/Cdog536 Jul 12 '20

Makes sense....so long as you dont randomly get a bad GPU lol

1

u/Rhjensen79 Jul 12 '20

Perf is good. And there is a gpu option as well. So no prob there.

4

u/bourne_again_coder Jul 12 '20

1

u/Cdog536 Jul 12 '20

Thanks!

1

u/synthphreak Jul 12 '20

Without having done any research before asking: How does this app stack up Juno/Juno Connect?

3

u/warpingDragon Jul 12 '20

Yes, there are even Python and Jupyter notebooks apps on the AppStore. Pythonista 3 and Juno

1

u/Cdog536 Jul 12 '20

Hmmmmm i might consider this download

2

u/techie789 Jul 12 '20

Check out Pythonista. My favorite tool.

8

u/monkiebars Jul 12 '20

Warning! Incoming dumb question:

Is Google Collab free? (If so, what are the limitations? If not, what is the pricing?)

8

u/Rhjensen79 Jul 12 '20

Yes but you can pay for extra ressources etc. But for a dev env it’s really great. As far as i understand, it spins up a container, for your code, when you launch it.

5

u/echo_awesomeness Jul 12 '20

Yes it's free. I guess the session expires after 12 hours not sure exactly how that works as I never did a coding session that long lol.

2

u/monkiebars Jul 12 '20

Wow that's awesome! Time to showcase and share some of my really low level analysis graphs in Colab rather than Excel! :)

3

u/[deleted] Jul 12 '20

[removed] — view removed comment

8

u/Rhjensen79 Jul 12 '20

It’s free. But there is a pro option https://colab.research.google.com/signup

2

u/alins_ir Jul 12 '20

Im coding with my mobile phone and i cannt run jupyter with my phone tnx a lot now i can coding better and it possible because you tnx man🙏💜

1

u/hmiemad Jul 12 '20

Check out azure notebooks. You get 1GO of free space and basically a virtual machine for free. You can create your own local DB and pile a bunch of py files.