More actions
Combined display of all available logs of Randomness wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 07:26, 17 September 2024 Derg talk contribs created page splitsql.py (Created page with " <syntaxhighlight lang="python"> cur = 'beginning' fi = open(cur + '.sql', 'wb') starts = b'CREATE DATABASE !32312 IF NOT EXISTS: `' ends = b'` !40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: ;' with open('beforereinstallalldbs.sql', 'rb') as f: for l in f: l = l.strip() if l.startswith(starts) and l.endswith(ends): cur = l[len(starts):-len(ends)].decode('utf-8') print(cur) fi.close() fi = open(cur + '.sql', 'wb')...")