Search Results

Search: Posts Made By: apmcd47
Forum: Programming 04-02-2019
2,907
Posted By apmcd47
Try this: (Python 2.7.12 on Ubuntu 16.04 Xenial) ...
Try this: (Python 2.7.12 on Ubuntu 16.04 Xenial)

ss = system_info['Ad_List']
searchObj = "primary"
resList = [f for f in ss if searchObj in f]

resList will be a list of one object, or...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 03:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy