r/PythonLearning 3d ago

Python journeys starts now

Guys, I am starting python, cs and algorithms with maths today. Also thinking to apply with physics. Any good resources, recommendations? 🙏

15 Upvotes

5 comments sorted by

5

u/FoolsSeldom 3d ago edited 3d ago

Check the r/learnpython wiki for lots of guidance on learning programming and learning Python, links to material, book list, suggested practice and project sources, and lots more. The FAQ section covering common errors is especially useful.

Unfortunately, this subreddit does not have a wiki.


Also, have a look at roadmap.sh for different learning paths. There's lots of learning material links there. Note that these are idealised paths and many people get into roles without covering all of those.


Roundup on Research: The Myth of ‘Learning Styles’

Don't limit yourself to one format. Also, don't try to do too many different things at the same time.


Above all else, you need to practice. Practice! Practice! Fail often, try again. Break stuff that works, and figure out how, why and where it broke. Don't just copy and use as is code from examples. Experiment.


PS. Once you've learned the basics, there are some core scientific libraries suitable for physics you should learn:

Library Purpose Notes
NumPy Array operations, linear algebra The foundation everything else builds on
SciPy Numerical integration, ODEs/PDEs, optimisation, signal processing, special functions The physics workhorse — scipy.integrate, scipy.optimize, scipy.special cover most undergraduate needs
Matplotlib Plotting Standard for publication-style figures; steep-ish API but ubiquitous in every physics paper/thesis
Pandas Data handling Less central in physics than in data science, but useful for experimental/lab data

There are many more libraries, sites and useful resources beyond this, but this should keep you going for a while.

2

u/agentscientific_160 3d ago

All the best, Keep practicing it's the only way to master python!!

1

u/PythonWithJames 3d ago

Best of luck! Scan as many resources as you feel comfortable doing, and find one that works for you! I generally find a mix of tutorials, videos, projects, coding challenges works for me, but we're all different :)

1

u/sleepless_thoughts 3d ago

Harvard python course on YouTube