After creating a list from a couple of text files I get the following :
['host : myhost.ro', 'port : 12222', 'service_name : SRVNM', 'user : MGA', 'password : Test']
Is there a way to make 2 lists like this :
lst1 =['host', 'port', 'service_name', 'user', 'password']
lst2 =['myhost.ro', '12222', 'SRVNM', 'MGA', 'Test']
Or to make a dictionary from the original list, this is my end goal, a dict like this :
Dict['host'] = 'myhost.ro'