osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue in parsing the strings in python code


On 2018-11-12 10:23, srinivasan wrote:
> Hi Thomas,
> 
> Great to hear from you, Could you please let me know how do I get the UUID
> "1da7d068-4548-4446-bf88-a440e49db1b1" by passing the name of the SSID
> "Funkloch' using "nmcli --terse" ??


Have a look at the output. It appears to me that the fields are
separated by colons, so you should be able to split each line on ':'.

If you're stuck, let us see what you've tried!