foo
This commit is contained in:
		
							
								
								
									
										9
									
								
								makelist.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								makelist.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| from sys import argv | ||||
| import re | ||||
|  | ||||
| fonts = [] | ||||
| with open(argv[1]) as f: | ||||
| 	for line in f: | ||||
| 		if line.startswith("FONT_"): | ||||
| 			fonts.append(line.split()[0]) | ||||
| print("FONTS = [ " + ','.join(fonts) + " ];\n") | ||||
		Reference in New Issue
	
	Block a user