Better python syntax
Fix clipboard on mac os