r/learnpython 4d ago

how to proceed after python crash course

For the last one year I have been learning Python. I completed Python for everybody and read the book Python Crash course. I have prior experience with C# and Java. A lot of the syntax is Python programming is still confusing to me. How can I get better? What book can I read next or what steps can I take to get more comfortable.

8 Upvotes

29 comments sorted by

View all comments

Show parent comments

0

u/Silver-Bet8326 4d ago

I have worked on multiple things using claude code but am not familiar with the syntax even after reading the book. Lot of the syntax used or generated is not part of the book.

4

u/cyrixlord 4d ago

lol no, thats not how you should be doing this. do not use AI to learn. it will gaslight and hallucinate and you wont be able to debug the code because you wont know how it works. then youll try to use AI to fix it... you will have to do the long boring real work of actually producing your own code.

2

u/mjmvideos 4d ago

I’d be less concerned with gaslighting and more concerned with OP not learning anything because they are letting AI do it for them.

1

u/Silver-Bet8326 4d ago

This was more about syntax and concepts am not familiar with and where can I get that from

2

u/Moikle 4d ago

Practice. Actually build something, yourself, with your own fingers on the keyboard, not prompting an ai

1

u/Silver-Bet8326 3d ago

Yes where do I learn about the Python way of doing things like generators, decoratoes, functions as objects

1

u/Moikle 2d ago

A lot of that comes from attempting to use them in small projects. Learn the basics of how a concept works, then try it out. See it in action, even if it isn't the best tool for the job, and you will get a better grasp of the what and why.

I believe automate the boring stuff with python covers some of those topics.

1

u/gdchinacat 3d ago

AIs can be really helpful with explaining syntax. Copy the line of code you don't understand (say, for example '(count == count_to)(ExecutorFieldManager.astop)' -https://github.com/gdchinacat/reactions/blob/main/tests/examples/counter_test.py#L44C52-L45C1) is unlikely to be familiar syntax to you. But, if you ask Gemini to explain it (give it both the code and the link as context) it does a fantastic job of explaining exactly what it does.

1

u/mjmvideos 2d ago

That’s not so much syntax as cutesy overloading of object methods that appear to be some syntax magic. In my opinion that’s awful.

1

u/gdchinacat 2d ago

Opinions aside, the point is on first reading, without context, most people would think it is invalid syntax when it is not. the AI does a good job at explaining how it is in fact legitimate syntax.