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
from bitstring import BitArray | |
import filecmp | |
FILE1 = "testfile.txt" | |
FILE2 = "testfile-cor.txt" | |
if filecmp.cmp(FILE1, FILE2): | |
print("Files are the same...") | |
quit() |
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
from librouteros import connect | |
from tkinter import * | |
ROUTER_API_IP = '192.168.1.1' | |
ROUTER_API_PORT = '8728' | |
ROUTER_API_USER = 'admin' | |
ROUTER_API_PASSWORD = 'pwd' | |
ROUTER_MANGLE_UPLOAD = 'UPLOAD' | |
ROUTER_MANGLE_DOWNLOAD = 'DOWNLOAD' |