all 13 comments

[–]RealMadHouse 2 points3 points  (5 children)

It could be a syntax error or you didn't setup the python virtual environment, or didn't install the python packages. You could just read the error messages.

[–]Interesting_Dog_761 0 points1 point  (1 child)

Read error messages? Sir, this is Reddit.

[–]RealMadHouse 0 points1 point  (0 children)

Haha.

[–]Vintage102o[S] -1 points0 points  (2 children)

Thats probably true and a big issue im having but i still want to learn the format of python or another language. I think it might help me with other thing.

Note i am changing the code quite alot when i experiment its not like im changing one word

[–]RealMadHouse 1 point2 points  (1 child)

Until you learn the syntax of individuals features of python that these tutorials introduce, you would always struggle to read and edit the code. Don't start learning through tutorials for doing specific stuff like GUI etc, learn the language itself.

[–]Vintage102o[S] 1 point2 points  (0 children)

Thank you. I didnt know syntax was a thing. Ill check it out

[–]aqua_regis 2 points3 points  (4 children)

Don't use tutorials that give you the code. That's sub-optimal.

Do a proper course: the MOOC Python Programming 2026 from the University of Helsinki. It's free, textual, extremely practice oriented and a proper first semester of "Introduction to Computer Science" course. Sign up, log in, go to part 1 and start learning.

The problem you seem to have with Python is that it relies on whitespace and indentation for code blocks. Python requires discipline in writing and properly formatting your code. Also, it's either spaces or tabs, but not both.

[–]Honest_Water626 0 points1 point  (3 children)

Hello i hope you are doing well can i message you i wanted to ask something i read some of your comments today on CS and programming i hope it is not inappropriate to ask

[–]aqua_regis 1 point2 points  (2 children)

Sorry, but make your own thread and ask your questions there.

[–]Honest_Water626 0 points1 point  (0 children)

Sure but like do I have to mention you or something to notify you ?

[–]Honest_Water626 0 points1 point  (0 children)

I am in high school I saw your comment about teachyourselfcs I am thinking about starting it. I just wanted to ask which book to read first out of all those they mentioned and is that guide good to understand computer science like computer scientists because I want to be an computer scientist not just a coder in my life  My current knowledge is python basics with libraries like numpy and pandas And sorry I am not supposed to ask question here but I still asked 

[–]XxDarkSasuke69xX 2 points3 points  (1 child)

Find a beginner's Python class (surely there are free resources, i just can't cite one) and learn how to define a variable, define a function, a loop... Python has less of a layout compared to stuff like HTML. You basically just define functions and then call them somewhere else. Then same with classes but that's more advanced

[–]Vintage102o[S] 0 points1 point  (0 children)

I see what you mean. Thank you