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
| from handlers import * | |
| def main(): | |
| connection = create_connection() | |
| cursor = connection.cursor() | |
| cursor.execute("CREATE TABLE IF NOT EXISTS card (id INTEGER PRIMARY KEY AUTOINCREMENT, number TEXT, pin TEXT, balance INTEGER DEFAULT 0)") | |
| connection.commit() | |
| data = {} | |
| main_menu(data) |
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 handler | |
| import argparse | |
| def main(): | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument("--import_from", default=None) | |
| parser.add_argument("--export_to", default=None) | |
| args, unknown = parser.parse_known_args() | |
| deck = [] |