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

12 points by paleduardo ↗ HN
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.

12 comments

[ 3.7 ms ] story [ 35.3 ms ] thread
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.

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/
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...

From the notes section of Part 0:

> VS Code is a special type of text editor that is called a compiler.

Ok. I think perhaps not this course.

Yeah, that's pretty bad. First of all Python isn't usually compiled, it's interpreted. Second of all VS Code is neither a compiler nor an interpreter but an editor/IDE with a debugger.

I didn't watch these videos but I watched the regular CS50 and I thought they were pretty good. Maybe that quality didn't translate to CS50P.

Just ask chatGPT for some lessons.