This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Python: | |
| MacOS already has Python 2.x installed. Need to avoid issues when installing the latest Python (3.x in this case) | |
| 1. Instsall XCODE. Download it from the APP Store or Apple website | |
| 2. Instead of downloading Python installer from the Python website, install the latest Python using Homebrew. | |
| Before dong so, install Homebrew with the script below: | |
| $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| 3. Install Python using Homebrew: $ brew install python | |
| 4. Use the following commands to verify the new Python has been installed: | |
| Python3 --version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
| // Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
| var FORMAT_ONELINE = 'One-line'; | |
| var FORMAT_MULTILINE = 'Multi-line'; | |
| var FORMAT_PRETTY = 'Pretty'; | |
| var LANGUAGE_JS = 'JavaScript'; | |
| var LANGUAGE_PYTHON = 'Python'; |