On Sun, May 8, 2016 at 7:10 PM, DFS <nos...@dfs.com> wrote: > sSQL = "line 1\n" > sSQL += "line 2\n" > sSQL += "line 3" > -- > https://mail.python.org/mailman/listinfo/python-list
What is your point DFS? You found pylint, and you don't like what it tells you. Its a tool, and it can tell you some things. Your code seems to be a mix of tabs and spaces, and you don't like standard python practices. That's fine, coding is (at least alone) an individual pursuit. You can code anyway you like. But, learning from the work of others, can be awfully useful. Most people I know use spaces, they set their text editor up to make tabs turn into 4 spaces. Problem solved. As far as wanting to put several statements on a line, you can do that if you like, but others have concluded that the code is easier to read if you don't. If that isn't your view, do what you like. It depends upon what problems you want to fight. If you adhere to standards, your code is more easily reviewed and easier to get help from others, if that is what you ask. -- Joel Goldstick http://joelgoldstick.com/blog http://cc-baseballstats.info/stats/birthdays -- https://mail.python.org/mailman/listinfo/python-list