# polyglot Sublime Snippets Here are a few Sublime Text snippets for working with the [polyglot](https://github.com/thespacedoctor/polyglot) python package within your own python scripting. ## Installation There are 3 ways to install these snippets into Sublime Text: ### 1. Package Control (preferred) If you don't have [Sublime Package Control](http://wbond.net/sublime_packages/package_control) installed, then [install it now](https://sublime.wbond.net/installation). Once installed: * Open the Command Palette in Sublime (`ctrl+shift+P` or `cmd+shift+P`). * Type "Install Package" and hit return. * Type "polyglot Snippets" and hit return. ### 2. Clone the repository into your Sublime Text 2/3 packages directory. For example, on MacOS: ```bash cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages git@github.com:thespacedoctor/polyglot-Sublime-Snippets.git ``` ### 3. Download the .zip file and uncompress into the Sublime Text 2/3 packages directory. * You can find your Sublime Text 2/3 packages directory from Sublime by navigating to `Preferences > Browse Packages`. * Download the zip file directory from this github repo into the packages directory, and double click to uncompress. ![][20160921121005] [20160921121005]: https://i.imgur.com/aBnBJmi.png ## License Copyright (c) 2016 David Young Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.