Getting Started with the f5-common-python SDK
If you have dabbled with python and iControl over the years, you might be familiar with some of my other “Getting Stared with …” articles on python libraries. I started my last, on Bigsuds, this way:...
Updated Jun 06, 2023
Version 2.0JRahm
Admin
Joined January 20, 2005
JRahm
Dec 27, 2017Admin
Instead of calling putstring (puts) in the for loop, you can create a variable (var) and then append each iteration through the for loop to that with a comma, then call puts afterward. Mocked up below:
% set str "ab cd ef gh ij kl mn op qr st uv wx yz"
% set var ""
% foreach c $str { append var $c, }
% puts $var
ab,cd,ef,gh,ij,kl,mn,op,qr,st,uv,wx,yz,