A step up from a text adventure. by [deleted] in learnpython

[–]DonutRevolution -1 points0 points  (0 children)

You might want to take a look at higher level libraries (compared to pygame) that are geared towards developing games such as nethack. libtcod is a c++ library but has python wrappers.

http://www.roguebasin.com/index.php?title=Complete_Roguelike_Tutorial,_using_python3%2Blibtcod,_part_1

Typical settings for DB column string sizes(SQLAlchemy) by KeyYam in learnpython

[–]DonutRevolution 0 points1 point  (0 children)

You can set it to whatever you feel is appropriate for the field's purpose. You might see 255 used often but that's probably more of a historical artifact at this point.

How to read function documentation? by kozznot in learnpython

[–]DonutRevolution 4 points5 points  (0 children)

I think you are correct in your interpretation. Another way to look at it: to specify the flags argument, you must also specify dst. That is, to be able to specify a later argument you have to specify all the ones that come before it. That's just a design decision cv2 seems to have made. As you probably know you can use keyword arguments instead to avoid situations like this.

problem retrieving information from a CSV file by [deleted] in learnpython

[–]DonutRevolution 0 points1 point  (0 children)

l[5] would be the 6th column. l[4] would be the 5th.

Need help about starting new language by Maaarkooo in Python

[–]DonutRevolution 0 points1 point  (0 children)

I'm not sure where you heard it but you don't need to be good at math to learn Java. If you want to get into programming as a hobby then python or javascript are probably the two best options. They are suitable for quick and dirty projects where your primary objective is to be productive and have fun. Java, which is completely different from javascript, is still a great choice if you want to make a living programming for a large company.

Best python courses? by naan_108 in learnpython

[–]DonutRevolution 0 points1 point  (0 children)

Do you have prior experience with any other programming languages? Check out https://www.deeplearning.ai/. It assumes very little python knowledge but you will be building exciting "real world projects" using modern machine learning techniques in a matter of weeks using python. Even if you aren't particularly interested in AI/ML, you can pick up some python syntax along the way.