@summary: 从控制台读取多行 --------- --------- @result:
(self)
| 55 | return key_type |
| 56 | |
| 57 | def get_data(self): |
| 58 | """ |
| 59 | @summary: 从控制台读取多行 |
| 60 | --------- |
| 61 | --------- |
| 62 | @result: |
| 63 | """ |
| 64 | input("请复制json格式数据, 复制后按任意键读取剪切板内容\n") |
| 65 | |
| 66 | text = pyperclip.paste() |
| 67 | print(text + "\n") |
| 68 | |
| 69 | return tools.get_json(text) |
| 70 | |
| 71 | def create(self, table_name): |
| 72 | # 输入表字段 |