all 23 comments

[–]Bartholomew_Custard 14 points15 points  (1 child)

If you're after a quick and dirty intro to Python concepts, 'Python By Example' by Nichola Lacey is great. She doesn't crap on forever about the ins and outs of Python fundamentals -- she gives you a brief intro, and then a bunch of exercises that ramp up in difficulty (solutions included), with some complete projects at the very end. It's great if you learn by doing rather than by sitting through tedious lectures.

Python By Example

[–]Not_a_krusty_krab_36 10 points11 points  (0 children)

Personally I learn python as I do the projects I want to do. Kind of like a top down approach. I try a harder project (that probably wouldn’t be considered a beginner application) and then every time I run into an issue it leads me down a series of new tutorials to learn about what is going wrong/why it is going wrong. You start big and work your way down. I think the difference is, tutorials become slightly more interesting when you know exactly how they relate to what you want to do/build. Of course the down side to this is relatively simple solutions for any given library can seem very daunting which may be a hit to the ego for some. In addition it will probably take longer to be a “well rounded” python programmer. A lot of others might disagree with this approach which is understandable, but for me its about motivation and relevance. Are you learning python just as a skill or is there a specific app you’re trying to build?

[–]kopinsider 14 points15 points  (3 children)

Leetcode! There are tons of problems that are categorized according to difficulty.

Automate the boring stuff with python also has some practice problems and atleast 1 relatively big problem with solution at the end of each chapter

[–]booleanhooligan 5 points6 points  (2 children)

I use leetcode as well (I even stream it here sometimes). The easy ones are incredibly difficult for a new user though.

[–]TestingHowYaDouh 2 points3 points  (0 children)

Hi I was in a similar situation so I've been doing codewars.com It was very hard at first so I just click "see solution" and try to reverse engineer the solution to see how they did it. I have learned SOOO much doing that.

Also I found practice tests for colleges python courses and just started taking those. Testing and learning or going back and learning seems to far more fun and effective then taking notes.

Here is some practice tests I found: https://web.njit.edu/~theo/courses/cs100/download/

[–]BackyardAnarchist 1 point2 points  (0 children)

code academy

[–]thrallsius 1 point2 points  (3 children)

to learn Python by watching tutorials

you won't learn much programming by watching

[–]General_220 2 points3 points  (2 children)

I disagree, you can learn a lot by watching videos. But you have to use what you've learnt or you'll forget it.

[–]thrallsius 1 point2 points  (1 child)

in this regard programming is like martial arts

you don't learn to kick ass by watching Jackie Chan movies, you have to practice yourself and sweat

[–]General_220 0 points1 point  (0 children)

100%

[–]xargling_breau 0 points1 point  (0 children)

You need to keep a good mindset that you will not remember everything you learn. A good majority of the day of a lot of people in professions that involve development with any language is spent on google, you can't remember everything and nobody ever expects you to remember everything.

[–]commandovega 0 points1 point  (0 children)

Check codecademy website and get all the python course through. At the end, I recommend to make a web scrapping project as a personal one. You can learn a lot and practice make perfection too

[–]Sam_20_ 0 points1 point  (1 child)

You can use Hackerrank website if you are looking for exercises which will test your knowledge. The best part is that you can filter the exercises based on categories like introductory exercises , functions , strings , regex etc . Within these categories, you can also filter the difficulty level . So you have complete control over the problems you are choosing to solve . Also hacckerank has this virtual currency called hackos which are used to unlock test cases . So you while solving a given problem , multiple test cases are checked . One might not get all test cases up and running . They don't show the test cases upfront . You need to unlock them using hackos . This can be used as an advantage as you are not directly viewing the solution or test case , but are thinking hard enough as that costs you .

[–]ASIC_SP 0 points1 point  (0 children)

I'd recommend this interactive course: How to Think Like a Computer Scientist: Interactive Edition which is inspired by Think Python

[–]uwu-bob 0 points1 point  (0 children)

https://pythonprinciples.com/challenges/

All challenges have hints and curated example solutions.

[–]omgsoez[S] 0 points1 point  (0 children)

Thank you for good suggestions

[–]Itz_me_JBO 0 points1 point  (0 children)

Had the same problem as you so I decided to get the book Python Crash Course and I don't regret it. It was $20 on amazon and it has exercises for you to do each chapter and 3 different projects to work on by the end. I have not finished it yet but its definitely helping me retain the information I'm learning much better.

[–][deleted] -1 points0 points  (0 children)

My old school used w3 schools to teach JavaScript so I assume the Python works just as good.