Created
November 7, 2016 04:17
-
-
Save liuyix/03149ec33ef2afd40688e45f39fd4e85 to your computer and use it in GitHub Desktop.
This file contains 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
binlog_list = list() | |
for i in xrange(20): | |
# 使用zfill补全0 | |
binlog = 'mysql-bin.' + str(i).zfill(6) | |
binlog_list.append(binlog) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment