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
| [ | |
| { | |
| "name": "Andaman and Nicobar Islands", | |
| "districts": [ | |
| { | |
| "name": "Nicobar" | |
| }, | |
| { | |
| "name": "North and Middle Andaman" | |
| }, |
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 argparse | |
| import base64 | |
| def main(args): | |
| file_content = None | |
| with open(args.input, 'rb') as f: | |
| file_content = f.read() | |
| b64_content = base64.b64encode(file_content) |
OlderNewer