r/CodingForBeginners • • 6d ago

Beginner in coding, starting with python

I'm a beginner in coding and want to start with python first, so in what manner should I start.

10 Upvotes

22 comments sorted by

5

u/Available_Safe1818 6d ago

Start by using google to look up information on python.

2

u/ExpressLandscape60 5d ago

I heard google is free.

1

u/Snezzy_9245 6d ago

Write code every day. Copy existing code and run it, but I don't mean copy-and-paste. Instead write the code into your favorite text editor or IDE and try running it. (I use emacs.) Change the code and see what happens. Get the code going into your eyes and out your fingers. Some of it will stick in your brain. If you feel you should use AI then only use it to make up problems for you to solve. Think, "What would Countess Lovelace do?" She started as a beginner too.

1

u/Over_Improvement_623 6d ago

Find a good tutorial on YouTube

1

u/kenstrawber 6d ago

Try https://exercism.org/ although they appear to be down at the momemtn.

1

u/vatican_cola 5d ago

So I actually found two things helped me

Firstly, this one isn't python so I understand it's a little bit rogue for a suggestion but I think it's really important that you understand terminology and how pieces of your code interact and for that, I'd recommend a course called learn GD Script from zero. GDScript is the language used in the gaming engine Godot, and it's similar to python so I don't think it would hurt you to start there.

The next thing you want to do is start on a task in python and I actually find that finding something to do with code is harder than doing something with code, especially when you're starting out. Not knowing what you CAN do with code stops you from attempting to do anything with code. You don't need a real task but you do need an objective, and for that a very good coding game called The Farmer Was Replaced. It's a game about running a farm using a drone, and you program the drone to do everything.

1

u/stepback269 5d ago

As a beginner, you need to consider yourself a baby and learn to crawl (the "fundamentals") before you can stand up and walk or sprint. So search for the Python "fundamentals" on Google and/or YouTube.

As for a roadmap tailored to your wishes, that's going to be difficult. Python is a vast and expansive universe. There is never going to be a "one" soulmate tutorial that works "best" for you and with regard to every aspect of Python. With each step up that learning curve, you're going to have to shop around until you find a teacher/resource that "clicks and sticks" especially for you.

With that said:

(1) There are tons and tons of tutorial materials out there on the net including many good YouTube ones that are free. You should shop around rather than putting all your eggs in one basket.

(2) As a relative noob myself, I've been logging my personal learning journey and adding to it on an almost-daily basis at a blog page called "Links for Python Noobs" (--HERE--) Any of the top listed ones on that page should be good for you. And there are many add-ons at the tail end of the page. Personally, I cut my first Python teeth with Nana's Zero to Hero (==HERE==). Since then, I've moved on to watching short lessons with Indently and Tech with Tim. You should sample at least a few until you find a lecturer that suits your style.

(3) The main piece of advice is the 80/20 rule. Spend 80% of your time writing your own code (using your own fingers and your own creativity) as opposed to copying recipes and only 20% watching the lectures. Good luck.

1

u/ritzyhandle 5d ago

Download an IDE of your choice (I use Visual Studio, it has a free community version that is great for what you need) and then find a youtube tutorial, book, or course online to learn the fundamentals and basics. Start writing your own small programs as soon as possible, just the most basic straightforward things like a text calculator or a to-do list. Good luck!

1

u/Strict_Ostrich_165 5d ago

That seems popular. Good luck. If you have any questions just ask. I’d suggest py4e.com they’ll have some simple instructions for what to download to get started right away.

1

u/BotSlamminDayNNight 5d ago edited 5d ago

i suggest doing the brocode run-through, then pick a small problem and solve it.
then more problems, each harder than the last.

1

u/sai_8303 5d ago

start tutorials and helping from youtube or AI this is the best way

1

u/Syntax-Tactics 5d ago

Start by reading the sub and seeing that this question is asked everyday.

1

u/srmaya14 4d ago

go to w3schools... And use google colab for practice.... write and run the program...

1

u/Valuable_Ad2171 4d ago

AI is very very good at python so ask your closest AI to create you a 6 months beginner program for learning python where you can study a few horus every day.

1

u/peakpirate007 3d 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.

1

u/Puzzled-Extent7817 2d ago

skip python and just go for C. thank me later.

0

u/BigElectronic6248 6d ago

Start with yt tutorial then build project then choose specialisation according to ur path backed , ai ml , data science etc

0

u/Embarrassed_Ad_1287 6d ago

In a text editor like notepad, write out something like:

print ("Hello World")

Then save that, name it "helloworld.py" Then find it and open it