The below code is not working with Processing.py (instead of the passed arguments the default values for width and height applies, that are 100x100 pixels: same results as size() statement, with no arguments):
When you need to define the parameters of the size of the display window with a variable, you must use the settings() function and define size() in it.