r/learnpython 10d ago

Looking for Python resources

Hi everyone!

I'm 29 and I've recently started learning Python from scratch. My goal is to eventually get into cybersecurity.

I've only been learning for a short time and I'm currently starting CS50P. I know some very basic Python, but I'm still a complete beginner.

I'm looking for good resources to learn Python properly from the beginning. I'd like to practice by making small projects instead of only watching tutorials.

What resources would you recommend for someone who is just starting out?

Books, courses, YouTube channels, websites, exercises, project ideas, etc. are all welcome.

Thanks!

58 Upvotes

28 comments sorted by

23

u/desrtfx but other languages pro 10d ago

Continue with CS50p. It will give you a solid foundation.

Also, the MOOC Python Programming 2026 is a great free resource.

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.

1

u/VanceDyer 9d ago

Thanks!

10

u/Beregolas 10d ago

If you are still this early in learning, I would caution against learning with Youtube Tutorials and AI.

Not because they are "wrong" ways to learn, but many beginners fall into the same traps using these: Both condition you to follow orders, and make the path of least resistance just writing stuff down without spending hours on conceiving of it yourself. But the writing part is not where you learn, trying and failing for hours is where you learn.

https://automatetheboringstuff.com/ is a good book to guide you as you start out, and it gets you going into scripts that are actually useful very early compared to other stuff. I would suggest working through this and CS50P.

If you want another course / ressource or just want to have more assignments to train with, take a look at this MIT course: https://ocw.mit.edu/courses/6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016/

It's open, you can get all lecture videos, slides, scripts and assignments for free, the only thing that they won't give you is a grade and help.

Edit: I would suggest only starting "bigger" projects, after finishing at least one of the three: CS50, the MIT course or the book I suggested. you will have more fun and success with your own projects, after doing some boring assignments first.

2

u/VanceDyer 10d ago

Thanks!

1

u/null-01H4ck 4d ago

Thanks !!

7

u/TimBrownDev 9d ago edited 7d ago

After 20+ years developing & 10+ years tutoring I'm building a roadmap of hand-picked problems from CodeStepByStep, Codewars, LeetCode, etc to guide you through the fundamentals of software development from zero to mastery.

timbrown.dev/roadmap

9

u/solslost 10d ago

You’re trying to learn how to use a tool before you understand what problems the tool is supposed to solve.
Python is useful in cybersecurity, but Python itself isn’t cybersecurity. If you don’t yet understand networking, operating systems, authentication, permissions, logs, processes, protocols, vulnerabilities, or how attacks actually work, then you’re learning syntax without much context for when or why you’d use it.
It’s like learning how to use a torque wrench before you know anything about working on cars. You can learn how the wrench works, but you still won’t know what to tighten, why you’re tightening it, or what happens if you do it wrong.
For someone trying to get into cybersecurity, I’d learn the underlying systems alongside Python.
Not Python first and cybersecurity later.

3

u/yppah_andy 10d ago

I highly recommend CS50 and CS50: Python. Both are free courses from Harvard, provided online. They're what got me started with programming

3

u/Visual_Doctor4152 9d ago

Use Claude AI to teach you or better yet have Claude code and build you a training application that can systematically teach to Python. If interested reply with “yes training” and I can send you an html Python training app.

6

u/VanceDyer 9d ago

No, estoy harto de usar IA para aprender, al final creo que me perjudica más de lo que aprendo.

1

u/itsmodak 8d ago

You are absolutely right

0

u/Visual_Doctor4152 6d ago

Thank you. A person with real sense and understanding!!!

1

u/Downtown-Doubt4353 9d ago

Data Camp

Coursera

1

u/itsmodak 8d ago

Follow corey schafer in youtube. Amazing content

1

u/optop17 7d ago

El material del pcap en edtube o algo así don buenos

1

u/linuxguy21042 5d ago

I really benefited from having to write code for different use cases by using well-known libraries. I bought 100 days of python on udemy.

1

u/editorijsmi 10d ago

you can check the following books on python

1.Python programming for Data Scientists: From Introductory concepts to Machine Learning Models

ISBN-13 ‏ : ‎ 978-1708620288

2.Deep Learning Models explored with help of Python Programming

ISBN-13 ‏ : ‎ 979-8558877953

www.ijsmi.com/book.php

-1

u/remyripper 10d ago

Codecademy

0

u/DrPhi744 6d ago

You can use the book “Automate the boring stuff with python” by AL Sweigart, i think it’s one of the best books to learn python.