In-class discussion: Introductory workshop

try this one Deep Learning Pre-workshop - Google Slides

1 Like

Another great book is Learning Python the hard way.

https://learnpythonthehardway.org

1 Like

Does paperspace allow you to save state of machine without any charge?

Jupyter command to delete a cell
ESC + dd

It’s retained by default.
You are charged Monthly for storage, so shutting down won’t remove the state of the machine as long as you don’t remove it.

I will start with the first tip for Jupyter notebook : ‘?’ can help you access the DocString for quick reference on syntax.

Here is an example:

6 Likes

one page tutorial for oop python https://www.python-course.eu/object_oriented_programming.php

1 Like

Shift + Tab is another life saver.

3 Likes

I found this to be a good resource for OOP in Python: https://jeffknupp.com/blog/2014/06/18/improve-your-python-python-classes-and-object-oriented-programming/

Yeah thats an awesome resource by Zed Shaw. However, the link i provided also talks in details about list/dict/set comprehensions, interaction with system as sys.

We can move towards generators and coroutines from there.

1 Like

https://pythonprogramming.net/ is my suggestion for learning Python (and a whole lot of things you can do with it).

sentdex (the author) is active on reddit as well.

3 Likes

Get Started with the Edx Course

Then play with pygame and make some games!
https://www.pygame.org/news

1 Like

Thanks. Its relatively easy to use then and best thing is its browser based.

Executing Shell Commands in Jupyter Cell:

Use ! to execute shell commands.

7 Likes

Hi @jeremy, is there a way you could talk to the GitHub guys, so that they make the Student Pack currently available only for the college going students, for the fast.ai fellows. It is a pack and I think there are good perks of availing it? Here is a link to the list. I had applied once and got it rejected as I am a self learner.

5 Likes

Is the list comprehension just skipping the x.append part but still running a for loop in the backend ? is that correct?

https://learnxinyminutes.com/docs/python/

Is there a computational benefit to using the list comprehension as well? Is it faster over longer objects than a for loop?

1 Like

short answer: always try to avoid using for loop

1 Like