DEV Community

Jessica Garson
Jessica Garson

Posted on

Resources for Learning Python

About once a week, someone new to their journey writing code reaches out to me asking if I have know of any resources to learn Python. Since I'm currently teaching an Intro to Python class at NYU, this question has become a daily occurrence so I figured I'd compile a list of my favorites.

Below is a list of recommend resources for learning Python originally posted to my GitHub repository for my current class I'm teaching.

Just getting started

Here are some resources that can help you get started learning how to code.

So you want to be a data scientist?

So you want to write code for the web?

Not sure yet, that's okay!

Here are some resources for self guided learning. I recommend trying to be very good at Python and the rest should figure itself out in time.

Conclusion

I hope this list is helpful to you in your learning journey. Get in touch with me or comment below if you have any other Python resources you recommend.

Top comments (58)

Collapse
 
succhib profile image
Succhi

Hackr.io is another great place to find community recommended best Python resources: hackr.io/tutorials/learn-python

Collapse
 
hooda profile image
Saurabh Hooda

That's a great list, Jessica. Kudos and Thanks!

Thanks, Succhi for sharing the link.

Collapse
 
devanghingu profile image
Devang Hingu

it's great.. did you tried exercism.io ?

Collapse
 
perigk profile image
Periklis Gkolias

Great one Jessica, please allow me a few additions:

Collapse
 
alvarocavalcanti profile image
Alvaro Cavalcanti

Great resources! Thanks for that!

Also, for those interested in buying the Refactoring book, Martin Fowler has recently announced that he's working on a 2nd edition of the book, which he hopes to release early this summer. So, those of you who were planning on buying it, if you can wait a little bit it'll probably be a good idea.

Collapse
 
jessicagarson profile image
Jessica Garson

That's very exciting!

Collapse
 
petersimnz profile image
Peter Sim

I note that the second edition of the Refactoring book is available on Amazon.

Collapse
 
alexpilk profile image
alexpilk • Edited

Thanks for the list! Here's my favorite Python YouTube channel:
Corey Schafer

Collapse
 
realedwintorres profile image
Edwin Torres

I'll add codecademy.com/learn/learn-python to the list. It's an interactive, online, non-sense tutorial that teaches Python basics. You'll write Python code instantly.

Collapse
 
himan10 profile image
Himanshu Bhatnagar

It's Amazing and Informative.
There're some more stuffs that one should need to give a try

MIT OPENCOURSEWARE -> ocw.mit.edu/courses/electrical-eng...

MIT Algorithms by Prof. srini devadas and eric demaine -> ocw.mit.edu/courses/electrical-eng...

Collapse
 
sobolevn profile image
Nikita Sobolev

I also recommend to use a good linter to learn the best-practices. It is also useful to catch errors one can possibly make. I recommend wemake-python-styleguide:

GitHub logo wemake-services / wemake-python-styleguide

The strictest and most opinionated python linter ever!

wemake-python-styleguide

wemake.services Supporters Build Status Coverage Status Python Version wemake-python-styleguide


Welcome to the strictest and most opinionated python linter ever.

wemake-python-styleguide logo

wemake-python-styleguide is actually a flake8 plugin with some other plugins as dependencies.

Quickstart

pip install wemake-python-styleguide

You will also need to create a setup.cfg file with the configuration.

We highly recommend to also use:

  • flakehell for easy integration into a legacy codebase
  • nitpick for sharing and validating configuration across multiple projects

Running

flake8 your_module.py

This app is still just good old flake8 And it won't change your existing workflow.

invocation resuts

See "Usage" section in the docs for examples and integrations.

We also support Github Actions as first class-citizens Try it out!

What we are about

The ultimate goal of this project is to make all people write exactly the same python code.

flake8 pylint black mypy wemake-python-styleguide
Formats code?
Finds style issues? 🤔 🤔
Finds bugs? 🤔
Collapse
 
_justirma profile image
Irma Mesa

Thanks for this! Python is a language I'm going to start learning :)

Collapse
 
jorotenev profile image
Georgi Tenev

Regarding Flask - the book by Miguel which is mentioned in one of the links is very comprehensive, practical and easy to follow guide to Flask.
blog.miguelgrinberg.com/post/the-f...

Collapse
 
siraoops profile image
John Sirabella • Edited

We just released our python training kit! This program is ideal for students and
teachers. For anyone interested in python programming, go to the downloads tab and click on the pythontraining.msi file.

siraoops.com

Some comments may only be visible to logged-in visitors. Sign in to view all comments.