I know PHP a little. But Python is totally new for me. I only know it's something "similar", right? Or wrong? What are the differences I should know?
One main difference is, that code formatting (indentation) influences your codes behaviour in Python. PHP is not interested in how you format your code.
Furthermore PHP may be able to produce applications outside of webservers and CLIs but is definitely aimed at those two environments while Python is more "all purpose".
What are the major differences between Python and PHP?