Asi je to uz pokrocilov hodinov ale neviem si dat rady s tymto v pythone 3
def load_nodes():
loadfile = open("nodelist.txt", "r")
nodelist = loadfile.readline()
values = nodelist
print (values)
lines = text_file.read().split(',')
nodes = values.get('nodes').replace(" ", "").split(',')
vstup je
127.0.0.1:5001,127.0.0.1:5000,127.0.0.1:8080,
ale hadze mi to chybu attribute error 'str' object has no attribute 'get' preco?
Dakujem