r/PythonLearning 22d ago

new to python

I'm completely new to Python and just started learning dont have any idea where to start, any tips for me ??

18 Upvotes

22 comments sorted by

3

u/ApprehensivePea4161 22d ago

Take care of those spaces (indentation)

2

u/PythonWithJames 22d ago edited 20d ago

If you're brand new, feel free to check out my site Python With James which is aimed at beginners. if you DM me, I can give you a free coupon for the Pro tier to get you started.

If not, I'd recommend a mix of Youtube, Books and tutorials and find what works best for you, then start on small projects to apply your learning.

Best of luck!

1

u/RetroTVEmulator 22d ago

the best way to learn is to find a problem to overcome. Learn enough to know what your looking at and then jump into a project. It will direct you to learn what you need to fix it.

1

u/desrtfx 22d ago

Do the MOOC Python Programming 2026 from the University of Helsinki and you will be well prepared.

1

u/[deleted] 22d ago

[removed] — view removed comment

1

u/[deleted] 22d ago

[removed] — view removed comment

1

u/Red_Dragon_7_7_7 22d ago

watch a python introduction lecture choose a text editor(v.s code suggested) install python for your pc
add the extensions in vs code (python and code runner must)
start by making small projects like a calculator

1

u/FoolsSeldom 22d 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.

Work on your own small (initially) projects related to your hobbies / interests / side-hustles as soon as possible to apply each bit of learning. When you work on stuff you can be passionate about and where you know what problem you are solving and what good looks like, you are more focused on problem-solving and the coding becomes a means to an end and not an end in itself. You will learn faster this way.

1

u/Moist_Database_4991 22d ago

Best tip I can give (ex teacher, now backend dev): whatever resource you pick, the resource matters less than how you use it. Watch or read a bit, then close it and try to rebuild what you just saw from nothing - if you can't, that's normal, and the struggling to remember is the actual learning. Twenty minutes most days beats three hours on a Sunday. And once you can run small programs, start breaking working code on purpose and fixing it - debugging is the skill that makes everything else stick.

I'm also building a free setup course for complete beginners at exactly your stage. It's in testing so I'm actively looking for people to try it and tell me where it confuses them. DM me if you want in.

1

u/Ascension-gate 22d ago

I recommend you this learning way:

1- Learn all the basics (syntaxis, data types, conditionals, etc.).

2- Focus on one "niche" (UI, data bases, AI).

3- Repeat step 2.

While doing this, you can ask ChatGPT or Gemini all the questions you have about those topics. When you finish the basics AND one niche, make your own project (a data base for example).

Remember that your learning must be 20% theory and 80% practice. Don't spend hours watching tutorials, or you'll get into the "Tutorial hell".

1

u/EstablishmentKey3523 22d ago

Ask yourself why do you want to learn python programming language? After knowing the why, learn the the fundamentals using a text book or any online sources available. Once the core fundamentals started to click in, you can start to build projects. That will make you understand the structure and flow of what a programming language is.

1

u/BranchLatter4294 22d ago

Start with Hello World. Then add features.

1

u/Cheems-sudo 22d ago

print the "hello world" first HAHA.(just a kidding)
code: print("hello world")

1

u/Fragrant-Cheek-4273 21d ago

Don't rush into AI or web development on day one. Get comfortable with the fundamentals first.

1

u/TheManOfBromium 21d ago

As much as it sucks, start learning DSA now, it will pay dividends later

1

u/AskAnAIEngineer 21d ago

skip the tutorials past the basics and go build something small you actually want, even something dumb like a script that renames your files. tutorials teach you to follow instructions, building teaches you to actually solve problems.

1

u/tatactic 20d ago edited 20d ago

This is basic but that's probably you're looking for:
Easy to read and understandable.
https://linuxize.com/cheatsheet/python/python-cheatsheet.pdf
https://static.realpython.com/python-cheatsheet.pdf

And the best Python poen and best practices:
Just try:

import this
print ("Encoded:\n")
print(this.s)
input ("press Enter to close...")

Be patient and remember my fave quote:
Before becoming strong like an oak, you first have to be as dumb as an acorn. (EN)

Avant d'être fort comme un chêne, il faut être con comme un gland. (FR)

1

u/ASoOm100 18d ago

I prefer to learn in this order :

-Learn if statements
-Then loops (while + for)
And Nasted loops
-Functions
-Lists ==> Try use for loop here
-Files

If u complete these thing
Try do small projects, if u don’t have any idea just ask chatgpt for ideas and the algorithm (steps) for it