Aug-02-2019, 02:41 PM
This is a shot from the hip but mabye something in this direction?
Before you react to my shitty coding, this code would most likely work if inserted "as is", im tired af atm (friday). This is more of a suggestion of how one could go about it.
And this might also be pure nonsense.... super tired :P
Have a nice weekend!
Before you react to my shitty coding, this code would most likely work if inserted "as is", im tired af atm (friday). This is more of a suggestion of how one could go about it.
And this might also be pure nonsense.... super tired :P
if "rd" in list[1][:2]: # list[1] is ment to be the part with endpoint. in my head it makes sense at this moment, when im not as tired, its likely that im way off endpoint = list[1].split('-') endpoint_1 = str(endpoint[0]) + str(endpoint[1]) + str(endpoint[2]) + str(endpoint[4]) endpoint_2 = str(endpoint[0]) + str(endpoint[1]) + str(endpoint[3]) + str(endpoint[4]) list_1 = list list_2 = list list_1[1] = endpoint_1 list_2[1] = endpoint_2Again, if its rubbish or simply stupid, please disregard this reply :).
Have a nice weekend!