Make code more pythonic (5)

- sort imports
- use python commands whenever possible (os.remove...)
- keep one argument per line on methods with long arguments
- no need to put parenthesis around simple conditionals
- use single quotes whenever possible
- use the new string formatting syntax