Issue in parsing the strings in python code

Thomas Jollans tjol at tjol.eu
Mon Nov 12 05:30:20 EST 2018


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!




More information about the Python-list mailing list