Maximization of a webbrowser through Python selenium is very easy. In short, all you have you have to do is start the browser and call the maximize_window().
(Selenium is a Python module that uses a web driver to control a web browser for you)
First import webdriver and the time module. You need the selenium web driver installed. Then open firefox with
webdriver.Firefox() and maximize the window with the call
from selenium import webdriver