I've been using PHP/MySQL since long time, however, I know the basics of Python as well. Now I think to switch on Python that it looks being used more widely. In terms of performance and features which one looks better? What do you think?
According to my experience I'd prefer PHP instead of Python, because I made switch and found PHP is much easier for me. When I switched on Python it takes several weeks to understand the syntax, however, I have a good knowledge in programming. May be Python is better than PHP, but I 'll prefer PHP.
In my opinion switching PHP to Python is a big step, Python is a more powerful than PHP. On the other hand it will take longer time to learn the syntax. To learn Python in a good order read the modules.
In reality, Python language is quite small and learning this language usually does not take such long time as you all saying. If you are referring standard library of any programming language, usually it will take your more time. PHP looks more web focused language than Python.
In order to compare PHP VS Python you will need to choose one or more Python frameworks. If you try their tutorials you will find the exact answer. Perhaps you will find Python is much better, or maybe not. If you have control over the execution of web hosting environment for your web applications you will find Python is far more powerful. I would recommend you to take a close at Python.
I've used Python for simple scripting, however, there are several things that will change your mind later. To develop Python web applications Linux or Mac OS is the suitable option, because you cannot develop it on Windows platform. Even though, configuring URLs was also another painful task. Therefore I went back to PHP.
Choosing language is totally depends on your choice so deciding PHP or Python really depends on which one you prefer most. The only disadvantage that I have noticed, it is not widely supported by many web host so you will have less options when you are going to host your web site.