It would be a lot simpler imo to do things in PHP. They have a lot of built in functions for things like making a simple file manager. Before you get heavy into either python or PHP though, I would recommend you to finish mastering html, especially since it's generally easy and fast to pick up.