Last active
September 1, 2022 10:36
-
-
Save altilunium/fded7ecf71023d1a9e81e630d526e736 to your computer and use it in GitHub Desktop.
Quarry Wikitable Linker
This file contains hidden or 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
f = open('usren.wikitable','r', encoding="utf-8") | |
l = f.readlines() | |
for x in l: | |
if '/' not in x: | |
if '|-' not in x: | |
n = x.split('|') | |
#print(n) | |
try: | |
print("|{{no ping|"+n[1]+"}}||"+n[3].rstrip('\n')) | |
print("|-") | |
except: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment