r/learnpython • • Jun 18 '20

Python projects for beginners

Hi! I just learned basic python syntax (watched a 4 hour long python tutorial playlist while also doing it myself), what would be some good beginner projects/ programs that i’d be able to make, and second of all, what can i learn next to become better at python?

449 Upvotes

108 comments sorted by

View all comments

148

u/[deleted] Jun 18 '20 edited Jun 18 '20

There's no obvious "next thing to do". There is just "Do something; learn from doing it; repeat"

If you're missing inspiration for things to do, try one of these:

  • Accept a coordinate, and use the openstreetmap overpass API to create a friendly name like "7 miles north east of Wenatche, WA"

  • Make a program to find the IUPAC systematic name of an organic molecule.

  • Visualize the n-body problem in a GUI.

  • Create a program to accept a date, and scrape wikipedia and other sources for events of that date, and present them in a way suitable to a "This day in history" page.

None of them are easy, but neither are they impossible. You will be out of the comfort zone as a beginner by doing any of them, but "No pain, no gain" also applies here.

3

u/[deleted] Jun 18 '20

Can you please tell some good books that i can read to get more into intermediate and advanced python? I like reading and learning from books :) And i will also actually code what they gave in the books while reading it.

3

u/beje_ro Jun 18 '20

Advanced generally means specialization... In what direction would youblike to go?

4

u/[deleted] Jun 18 '20

I would like to go into neural networks machine learning and ai along with some other stuff like games but mostly neural networks and machine learning and ai

7

u/ivosaurus Jun 18 '20

https://link.springer.com/book/10.1007/978-3-319-73004-2

Free book, teaching using the freely installable libraries numpy & friends.

1

u/[deleted] Jun 18 '20

Thanks

4

u/surferbb Jun 18 '20

I’m literally just starting coding (as of two days ago) but want to go to ML eventually - it seems that you also need a pretty firm grasp of advanced math (something I have no experience with) so some linear algebra etc supposedly is helpful. Check out the ML Reddit’s they seem to have good advice

1

u/[deleted] Jun 18 '20

Cool thansk

4

u/BeastCoder Jun 19 '20 edited Jun 19 '20

A few things that I found especially useful (in the order you should watch them) are:

  1. 3blue1brown’s video series about neural networks and the math behind them

  2. The Coding Train’s video series about actual implementation. This series also has dedicated videos for upcoming math topics which is also great!

These video series are both really helpful. For the second one, he uses Processing which is a super simple graphics framework for Java. You can follow along with Processing.py; the Python implementation.

There is another video series from Sentdex about neural networks which seems pretty good, but, I haven’t personally watched it. Here is the link.

From there, you can probably find some books for what’s next, but these are great introductory videos. Hope this helps!

Edit: These videos or specifically for making neural networks from scratch. You’re not going to find any of these using a library like TensorFlow which handles most of the math for you.

1

u/[deleted] Jun 19 '20

Thanks dude

2

u/[deleted] Jun 18 '20 edited Jun 18 '20

For more pythonic code you can try Fluent Python. For learning data science you'll need too brush up on differential and integral calculus, linear algebra, statistics. There are some decent books like Python for Data Science and Data Science from Scratch that are a good starting point.

0

u/[deleted] Jun 18 '20

Oh ok thanks. I already know caculus, linear algebra and stat wait when you say calculus do you mean single variable calculus or multivariable calculus? Is neural networks categorized as a data science because it deals with feeding in large amounts of data into a neural network to train it? Or simply because it deals with data?

2

u/[deleted] Jun 18 '20

Machine learning is all about big datasets. So ground level many data scientists will spend lots of time cleaning data and doing stuff like simple linear regressions. ML is a more advanced application. I'm a learner as well since take this all with a grain of salt, I'm currently a bench scientist trying to learn data science workflows to get off the wet bench.

2

u/skellious Jun 18 '20

might want to keep your eye on this project (the book is being written at the moment but you can request access to the google docs draft) - https://nnfs.io/

https://www.youtube.com/watch?v=Wo5dMEP_BbI

https://pythonprogramming.net/