diff --git a/feature_test/split_exp.py b/feature_test/split_exp.py new file mode 100644 index 0000000..6a1e8c4 --- /dev/null +++ b/feature_test/split_exp.py @@ -0,0 +1,9 @@ +# -*- coding: utf-8 -*- +# @Time : 2024/1/18 下午11:09 +# @Author : sudoskys +# @File : split_exp.py + +method = "ass2srt" +sub_key, key = method.split("2", maxsplit=1) + +print(sub_key, key)