OK comes to topic Python or Java which is best.
It depends on the situation that you want to build and what is required to build that product. Maybe you only JAVA or even Python and some case both, remember that by I say depending on your product you want to make.
One last and least thing is there no meaning in comparing any of the language, framework, library, etc. Until unless you know what indeed needs.
Ujjwal Kanth
Search @Unbxd
I am sure not a single decent developer will say either. You don't decide your tool beforehand, you see what you have to do and then choose what's right for the job.