How to learn game development in python?
I would suggest looking up on amazon for good books on the subject, if money is tight there are some free PDFs floating around out there. I would do that and also read others source code to get new ideas. best of luck.
it's just the coding not game development
You can but your games will be really limited, simple arcade games are all you can make with pygame.
You can do so much! Take internet docs and tutorials, youtube.