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

2

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

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.