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
`save` |
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
/** | |
* Smart Metronome experiment | |
* @author Geraldo Ramos | |
* @date 2017.11 | |
* | |
* Copyright (c) 2016 Geraldo Ramos. \n\n | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License as | |
* published by the Free Software Foundation; either version 2 of | |
* the License, or (at your option) any later version. \n\n |
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
--- | |
**prime-style membership advantages** | |
1. User usage increase: Prime customers spend 130% more than regular Amazon customers | |
2. Cheaper financial commitment is easier to sell and scale. | |
3. Does not affect enterprise sales, since selling in bulks/prepaid is still part of the game. Membership are for individuals | |
4. |
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
--- | |
**prime-style membership advantages** | |
1. User usage increase: Prime customers spend 130% more than regular Amazon customers | |
2. Cheaper financial commitment is easier to sell and scale. | |
3. Does not affect enterprise sales, since selling in bulks/prepaid is still part of the game. Membership are for individuals | |
4. |
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
import simplejson | |
import json | |
def put(data, filename): | |
try: | |
jsondata = simplejson.dumps(data, indent=4, skipkeys=True, sort_keys=True) | |
fd = open(filename, 'w') | |
fd.write(jsondata) | |
fd.close() | |
except: |