Skip to main content
Karn Kumar's user avatar
Karn Kumar's user avatar
Karn Kumar's user avatar
Karn Kumar
  • Member for 6 years, 4 months
  • Last seen more than a month ago
Loading…
comment
Python3 conditionally moving files and string formatting
Alex, This is a nice one, however i have to keep the password into the code, is there a way if we can use a kind of Ansible vault, i'm not pretty familiar with using class but will get into it.
awarded
Loading…
awarded
awarded
comment
Linux bonding status check
Many thanks indeed for the detailed answer @Anonymous , However, i need the output results in a similar format which is in my original post, can you club your suggested code as one piece. +1 already.
comment
Linux bonding status check
Even making it Python3.x complaint will be okay.
revised
Linux bonding status check
added 687 characters in body
Loading…
asked
Loading…
awarded
awarded
comment
Python startswith and then look a word in a conditional block
Josay, that will not do the job because if i will use dataBlock = line instead of dataBlock = dataBlock + line then it will not print host names. +1 for the throwing an idea
comment
Python startswith and then look a word in a conditional block
AJNeufeld, this looks to be neat and promising +1, thnx
comment
Python startswith and then look a word in a conditional block
kushj, thnx for the answer. +1 for the approach around.
revised
Loading…
comment
Python startswith and then look a word in a conditional block
@kushj, no. mydudalt1 and mydudalt2 are the host names.
Loading…