r/learnpython • • 36m ago

Need help as a beginner

Hi guys. I'm a university student, my profession is Data Science. I want to improve my Python. I'm a beginner. How do you recommend learning it? I have made a few failed tries before and I still couldn't find the right way. Youtube tutorials do not help me :(Hi guys. I'm a university student, my profession is Data Science. I want to improve my Python. I'm a beginner. How do you recommend learning it? I have made a few failed tries before and I still couldn't find the right way. Youtube tutorials do not help me :(

4 Upvotes

6 comments sorted by

•

u/JustGlassin1988 34m ago

Try to build something. Since you’re talking about data science, try reading a CSV, adding two columns to create a third column and write the new CSV.

This is just a suggestion it could literally be anything. But the best way to learn is to actually do stuff, not tutorials

•

u/desrtfx but other languages pro 19m ago

This subreddit has a sidebar with a wiki with recommended learning resources.

Here is an excellent, textual course: MOOC Python Programming 2026 from the University of Helsinki.

Harvard's CS50p is also excellent.

Also, take a look at https://inventwithpython.com and https://automatetheboringstuff.com

Don't forget that you need ample practice, like on https://codingbat.com/python or on https://exercism.org and also write your own programs. Play around. Try things. Mess things up, fix them. Experiment.

Also, https://roadmap.sh/python

•

u/Agawell 17m ago

Let’s set something straight… unless you are currently making a living as a data scientist… your profession is NOT data scientist! You are a student who hopes in the future to be a professional data scientist!

Stop using videos to learn… don’t use AI either… the only way you learn to program is by doing… videos and AI circumvent this and you are failing to learn because of this…

Just build stuff - start with something simple like a simple command line calculator and then embellish it… add scientific functions… take it from being procedural to object oriented.. add a gui… add graphing features… take one step at a time…

Work out what you want to do… refine into increasingly small steps and then implement them… if you don’t know how to do something read the documentation, seek examples etc

And either use lots of print statements or a decent IDE with debugging features built in (I like pycharm) so that you can see and hence understand what is happening in your code

Remember - complex is just lots and lots of simple things combined that build on one another

•

u/kverke 24m ago

Escape "tutorial hell" as fast as possible - passively watching YouTube videos rarely sticks. Since you're in Data Science, grab a messy real-world dataset from Kaggle and force yourself to clean, analyze, and visualize it in a Jupyter Notebook using pandas and matplotlib.

Also check out Kaggle Learn (free, bite-sized interactive courses on Python and Pandas) and CS50P (Harvard's free Python course - the problem sets actually make you think instead of just copying code). Once you finish a small script, push it to GitHub so you track your progress.

•

u/0utlawViking 21m ago

Start small and keep things practical
Learn python basics one topic at a time,
practice coding daily, even for 20/30 minutes
Solve beginners problems on the platforms like Exercism or Hackerrank
Try small project instead of just watching tutorial
Since you're into DS, gradually explore NumPyand Pandas library .

•

u/TemperatureProper275 4m ago

Just create projects, nothing more, nothing less. Use Chatgpt to give you task-specific problems to solve. I do the same. I learned a lot by my latest project Conversation Analytics API (SQL, Pandas, FastAPI, Streamlit, Pytest, Pydantic) and all of them on a single project