HACKER Q&A
📣 paleduardo

Suggestions on where to learn how to code in Python? (0 experience)


Hi everyone, I'm looking for suggestions on where to learn to code in Python. My goal is to create scripts to utilize OpenAI's technology at its fullest.


  👤 Leftium Accepted Answer ✓
Learn Python the Hard Way: https://learnpythonthehardway.org/python3/intro.html

> The Hard Way Is Easier

> With the help of this book, you will do the incredibly simple things that all programmers do to learn a programming language:

> 1. Go through each exercise.

> 2. Type in each file exactly.

> 3. Make it run.

> That's it. This will be very difficult at first, but stick with it. If you go through this book and do each exercise for one or two hours a night, you will have a good foundation for moving on to another book about Python to continue your studies. This book won't turn you into a programmer overnight, but it will get you started on the path to learning how to code.

> This book's job is to teach you the three most essential skills that a beginning programmer needs to know: reading and writing, attention to detail, and spotting differences.

HN discussion about this book:

- https://hw.leftium.com/#/item/13722852

- https://hw.leftium.com/#/item/1299029

- https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...


👤 tsingy
This is the introduction to Programming course and the Advanced Course in Programming from the Department of Computer Science at the University of Helsinki: https://programming-23.mooc.fi/


👤 alanaan
highly recommend replit's 100 days of code course: https://replit.com/learn/100-days-of-python/

it's a 100 day course that takes you from no coding knowledge to being able to work with databases, build web apps, an even work with OpenAI's API to build AI apps by day 100.


👤 asicsp
+1 for https://programming-23.mooc.fi/ and https://cs50.harvard.edu/python/2022/

I'd also recommend https://futurecoder.io/ and https://thepythoncodingbook.com/ for beginners.

See also my comprehensive collection of Python learning resources: https://learnbyexample.github.io/py_resources/


👤 troydavis
Start on https://python.land/python-tutorial

Spend a couple hours on that. You'll get Python installed, run a few basic programs, and get a feel for editing a program and having it behave differently.

If you like that site, keep going :-) If not, or if you finish it, continue to whichever link on https://wiki.python.org/moin/BeginnersGuide/NonProgrammers sounds most fun to you. Follow your interest - there is no one “best” way to learn, so make it fun.


👤 DMell
I enjoyed Automating the Boring Stuff with Python

https://automatetheboringstuff.com/


👤 readonthegoapp
you could just try to use it, first. google an example script, or look how to do it on youtube.

  example python script using chatgpt
https://www.youtube.com/results?search_query=example+python+...

mix in 30 min/day of the top half of this course, 'Python for Everybody'.

https://www.freecodecamp.org/learn/scientific-computing-with...

happy destroying.


👤 hackrnusr
Just ask chatGPT for some lessons.

👤 saliagato
Same question