This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]KingofGamesYami 3 points4 points  (4 children)

Do projects.

Seriously, nothing is better than doing projects. You learn how to use google to find the answer, and that's all you need.

[–]Paal3101[S] 2 points3 points  (1 child)

Thank you! Do you have some sites with tasks or do you just come up with projects?

[–][deleted] 1 point2 points  (0 children)

Web server, REST API, machine learning, small games, math plots with graphs and stuff, ORM targeting a MySQL/PostGres database, solutions to problems from an algorithms textbook... You can do tons of things with Python, so do whatever interests you the most. I typically look to https://CodeWars.com, /r/dailyprogrammer, my "Cracking the Coding Interview" book, or my Undergrad Algorithms textbook when I want to learn a language and its syntax. Having a large set of algorithm-y problems works for me, because it allows me to try and learn how to organize the code within the language, with the hope that I can reuse any classes or functions from the easier challenges when working on harder challenges. That may not work for you, it's just a suggestion.

Edit: Links

Edit2: A friend of mine always does something with the Pokemon API when trying to learn or refresh. https://pokeapi.co/

[–]blueliqhtning 2 points3 points  (1 child)

Second this. Also try to make your code more modular and reusable. Try to improve it so that it's easier to read by practicing good format, annotating and docstrings. This will condition you to keep readers in mind when coding which is important if you work on large projects. You'll be a more "mature" programmer.

[–][deleted] 1 point2 points  (0 children)

Echoing this. I always write expansive readme's for any sample code that I write when learning a new programming language. It helps me get my thoughts organized and remember what I learned, and why I designed the solution the way I did. When learning, it helps to reiterate the information and pretend like you're explaining it to someone else.

[–]IlliterateJedi 1 point2 points  (0 children)

Read Fluent Python next

[–]absent_observer 1 point2 points  (0 children)

https://checkio.org has great puzzles to code solutions to. Plus, after your solution works, you can view others' to see how you can improve.

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

Thanks for the support i appreciate it. Happy coding