forked from antekov/mt5-manager
7 lines
231 B
Python
7 lines
231 B
Python
|
|
from icoextract import IconExtractor
|
||
|
|
|
||
|
|
def extract_icon(exe_path, output_path):
|
||
|
|
extractor = IconExtractor(exe_path)
|
||
|
|
extractor.export_icon(output_path)
|
||
|
|
|
||
|
|
extract_icon("C:/MT5/MetaTrader5.1/terminal64.exe", "terminal_icon.ico")
|