更新时间:2023-12-05 19:21:22
我有一个方便的脚本,使用Python Happybase 库: / p>
I have a handy script that does exactly this, using the Python Happybase library:
import happybase
c = happybase.Connection()
for table in c.tables():
c.disable_table(table)
c.delete_table(table)
print "Deleted: " + table
您需要安装Happybase才能使用此脚本,您可以将其安装为:
You will need Happybase installed to use this script, and you can install it as:
sudo easy_install happybase