► Optimize your Python + Sublime Text Setup: https://SublimeTextPython.com
A short walkthrough of some Sublime Text settings that control how Sublime deals with whitespace in your source code files. The settings I demonstrate are my recommended settings for writing Python with Sublime Text.
Here's a good discussion of why you want to end your text files with a new line: https://stackoverflow.com/questions/7... (tl;dr: POSIX tools expect it and can get tripped up or ignore the last line if it doesn't end with a line feed)
► Weekly Tips for Python Developers: https://dbader.org/newsletter