Python is an awesome programming language which has been well thought out, designed and is allot more versatile than PHP simply because there are allot more system programming libraries around.
Really though, PHP remains a pretty big contender on the web.
Ruby might also be something you might want to look into. It's also a very well designed language, is well web enabled via Rails and is also quite versatile. It's still quite young compared to Python though so there's not quite the amount of libs around but it is quickly catching up.
There is always Perl too, though I wouldn't use it for the web.
It really depends on what you want to program exactly. Are you a windows user? You might be better off taking a look at C# & .Net.