r/learnpython • u/PerformanceNo4750 • 13h 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 :(
7
Upvotes
4
u/desrtfx but other languages pro 12h 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
3
u/JustGlassin1988 12h 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
4
u/Agawell 12h 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
2
u/rhacer 12h ago
Solving problems. But make sure they're problems that are interesting to you.
1
u/kverke 12h 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
pandasandmatplotlib.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.
1
u/0utlawViking 12h 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 .
1
u/TemperatureProper275 12h 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
1
u/mkhanwrites_ 12h ago
Like somebody else here mentioned, you could take CS50P, an introduction to programming in Python, a MOOC by Harvard.
1
u/EnvironmentalDot9131 12h ago
you have to do projects man. That's the main part of this.
1
u/Fastpast93 12h ago
You likely have the wrong YouTube tutorials. Bro Code is how I learned Python, and I definitely soaked up the series! I recommend you do 1-2 drills after every concept in your programming environment. Identify each line of code, what it does, and how to repurpose it for other reasons.
Over a week, you should be able to watch the whole series and it should help a lot!
1
u/BotSlamminDayNNight 12h ago
so the tutor in the tutorial tells you the step, you do it. and you learn nothing from that?
1
u/Sure-Passion2224 11h ago
Learning to code by watching YouTube is like learning to meet a boyfriend/girlfriend by watching old Ron Jeremy films. You'll have an idea of what the final result is supposed to be but still have no practical knowledge of how to get laid.
1
u/BranchLatter4294 10h ago
Consider kaggle.com/learn
1
u/MeetRare8413 10h ago
bro pick one resource and stick to it learn one concept one at time and code it by urself tutorials alone wont help u without practice so start with small problems
1
u/Arslan3x5 10h ago
As a developer, my advice would be to stop jumping between tutorials. Start with basic Python (variables, loops, functions, lists, dictionaries), then build small projects. Since you’re studying Data Science, try analysing a simple dataset using Pandas and Matplotlib. Don’t worry about making mistakes; debugging is part of learning. Consistency matters more than watching hours of tutorials. Even 30 minutes of coding daily can make a big difference.
1
u/cyrixlord 10h ago
arent you paying the school to teach you? ask your teacher for extra work or ask questions if you are unsure or are having trouble before you fail out
1
u/noone_zu8273 8h ago
Start with fundamentals (function,data type ,classes,conditional and...)then learn pandas ,numpy ,matplotlib,seaborn and other related libraries finally take some CSV files from kaggle and solve it
1
u/Awkward_Block9860 7h ago
Futurecoder along with some used books purchased online.
0
u/conor-robertson 10h ago
Check out QueryCase for a fun intro to pandas, stats - all in your browser!
0
u/peakpirate007 9h ago
been building https://www.runtime.school/ for learning and practicing python in one place. lessons, practice, projects and a few tools all use the same datasets, so it feels more connected than jumping between random examples. if you’re learning python , might be useful.